Skip to content

Instantly share code, notes, and snippets.

@i3zhe
Last active December 21, 2015 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i3zhe/6365778 to your computer and use it in GitHub Desktop.
Save i3zhe/6365778 to your computer and use it in GitHub Desktop.
keep local forked repo upstream
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