Created
August 17, 2015 20:45
-
-
Save luigi/a28f14cbd0a937b6d018 to your computer and use it in GitHub Desktop.
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
# Prereq: Current branch is the feature branch and all pending changes are committed locally | |
# First pull down the changes from master | |
$ git checkout master | |
$ git pull | |
# Then, go back to the feature branch and merge in master | |
$ git checkout my-feature | |
$ git merge master | |
## If there are merge conflicts, open up the files and resolve them | |
$ git add . | |
$ git commit -m "Merge in master" | |
## Push the feature branch to GitHub | |
$ git push | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment