Last active
December 21, 2015 21:08
-
-
Save i3zhe/6365778 to your computer and use it in GitHub Desktop.
keep local forked repo upstream
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
https://help.github.com/articles/syncing-a-fork | |
``` | |
git remote -v | |
git remote add upstream https://github.com/otheruser/repo.git | |
git fetch upstream | |
git checkout master | |
git merge upstream/master | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment