Skip to content

Instantly share code, notes, and snippets.

@jongyllen
Created September 24, 2013 07:09
Show Gist options
  • Save jongyllen/6681278 to your computer and use it in GitHub Desktop.
Save jongyllen/6681278 to your computer and use it in GitHub Desktop.
GIT - Sync fork
git remote -v
git remote add upstream https://github.com/otheruser/repo.git
git remote -v
git fetch upstream
git branch -va
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