Created
August 17, 2015 20:45
-
-
Save luigi/a28f14cbd0a937b6d018 to your computer and use it in GitHub Desktop.
Revisions
-
luigi created this gist
Aug 17, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # 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