Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Last active September 3, 2015 16:43
Show Gist options
  • Save diegopacheco/0b24bba48ebedecd42a9 to your computer and use it in GitHub Desktop.
Save diegopacheco/0b24bba48ebedecd42a9 to your computer and use it in GitHub Desktop.
GitHub: How to Sync a FORK from MASTER to FORK?

$ git remote -v
$ git remote add upstream $HTTPS_URL_GIT_MASTER
$ git remote -v
$ 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