Coder Social home page Coder Social logo

cake's Introduction

Cake

What's it take to bake a pretty cake?

Exercise 1

First you will each be assigned an ingredient:

  • flour
  • sugar
  • fats (milk, butter, etc)

Steps

  1. You will clone this repository
  2. Create a new feature branch for your ingredient
  3. Add ONLY YOUR ingredient to the ingredients.txt file:
2.75 cups flour
1 tablespoon baking powder
0.75 teaspoon salt
1 cup milk
2 teaspoons vanilla
1 cup butter
1.75 cup sugar
5 eggs
  1. Commit your new branch and push it up to github
  2. Create a pull request against master

I will merge your PRs in the order they were created

  • You will have to fix PRs with perge conflicts

Exercise 2

We will do the same thing as exercise 1 for the instructions

  • You have the same ingredients assigned

Steps

  1. You will clone (or pull from) this repository
  2. Create a new feature branch for your instruction
  3. Add ONLY YOUR instruction to the instructions.txt file:
Preheat oven to 350°F.
butter cake pan
mix flour, baking powder, salt, milk.
mix in vanilla, butter, and sugar
mix in eggs
pour cake batter into prepared pan
bake at 350 for 30 minutes
make andrew do all the dishes
  1. Commit your new branch and push it up to github
  2. create a pull request against the master

I will merge your PRs in the order they were created

  • You will have to fix PRs with perge conflicts

Conclusion

  • In exercise 1 git is very good at merging simultanious changes on different lines
  • In exercise 2 git is slightly less good at merging changes on the same line
  • Temporary feature branches (github flow) is the defacto standard for most modern projects
  • Persistent branches (git flow) are used where you need to maintain multiple long-lived backwards compatible branches (a library with many different versions) and requires alot more work cherrypicking changes between them

cake's People

Contributors

jdub0341 avatar metaclassing avatar ohtarr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.