Skip to content

Instantly share code, notes, and snippets.

@tcapelle tcapelle/git.md
Last active Jun 17, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.