Last active
August 29, 2015 14:02
-
-
Save enxebre/1f4dc85b63391cb29d9a to your computer and use it in GitHub Desktop.
Git commands for update your pull request branch with the last master changes
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 characters
| git remote add upstream git://github.com/your-repo | |
| git checkout master | |
| git fetch upstream | |
| git merge upstream/master | |
| git checkout BRANCH_NAME | |
| git rebase master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment