Created
October 21, 2010 13:51
-
-
Save potomak/638511 to your computer and use it in GitHub Desktop.
Merge foo branch into master branch (http://lwn.net/Articles/210045/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create foo branch | |
git checkout -b foo | |
# do some stuff on foo branch | |
# add changes and commit | |
git add . | |
git commit -m "add foo feature" | |
# merge foo branch into master branch | |
git checkout master | |
git pull . foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment