Skip to content

Instantly share code, notes, and snippets.

@completejavascript
Created March 13, 2018 07:21
Show Gist options
  • Save completejavascript/0f6d4e9979ec6399118e1ecb818af8ee to your computer and use it in GitHub Desktop.
Save completejavascript/0f6d4e9979ec6399118e1ecb818af8ee to your computer and use it in GitHub Desktop.
1) First fetch all changes:
$ git fetch --all
2) Then reset the master:
$ git reset --hard origin/master
3) Pull/update:
$ git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment