Skip to content

Instantly share code, notes, and snippets.

@John-Dormevil
Last active November 13, 2017 11:10
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 John-Dormevil/ddf408778ca238924432b5790564f6f3 to your computer and use it in GitHub Desktop.
Save John-Dormevil/ddf408778ca238924432b5790564f6f3 to your computer and use it in GitHub Desktop.
Sync a fork with original repo

make sure the upstream remote is set

optional

update your fork

  • 2 - git fetch upstream

swith to your master branch

  • 3 - git checkout master

merge the upstream/master branch to your local branch

  • 4 - git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment