Skip to content

Instantly share code, notes, and snippets.

@nickfloyd
Created February 9, 2012 14:36
Show Gist options
  • Save nickfloyd/1780344 to your computer and use it in GitHub Desktop.
Save nickfloyd/1780344 to your computer and use it in GitHub Desktop.
used to sync a forked git repo with a master repo
git remote add upstream [git repo endpoint]
git fetch upstream
git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment