Skip to content

Instantly share code, notes, and snippets.

@tcapelle
Last active June 17, 2019 07:51
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 tcapelle/9c03839582b5e214521655896fe77172 to your computer and use it in GitHub Desktop.
Save tcapelle/9c03839582b5e214521655896fe77172 to your computer and use it in GitHub Desktop.
Useful commands

Check fiest that a upstream repo is setup here. $ git remote -v Basic commands to sync/merge git with origin.

$ git checkout master
> Switched to branch 'master'

$ git merge upstream/master
> Updating a422352..5fdff0f

$ git merge upstream/master
> Updating 34e91da..16c56ad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment