Skip to content

Instantly share code, notes, and snippets.

@alexclifford
Created May 28, 2015 03:47
Show Gist options
  • Save alexclifford/bb5a2d46afed694bb67f to your computer and use it in GitHub Desktop.
Save alexclifford/bb5a2d46afed694bb67f to your computer and use it in GitHub Desktop.
If you really need to reset your local git repo to what is upstream to remove any unwanted changes
git reset origin/<branch> --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment