Last active
October 31, 2017 19:54
-
-
Save zahna/9712d69257ef388bee28f45319c1a44e to your computer and use it in GitHub Desktop.
creating a git branch to github upstream project
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
https://help.github.com/articles/syncing-a-fork/ | |
http://stackoverflow.com/questions/7244321/how-do-i-update-a-github-forked-repository | |
git remote add upstream https://github.com/whoever/whatever.git | |
git fetch upstream | |
git checkout master | |
git rebase upstream/master -or- git merge upstream/master | |
<resolve conflicts> | |
git add <files> | |
git rebase --continue | |
git push origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment