Skip to content

Instantly share code, notes, and snippets.

@rickcnagy
Last active December 19, 2015 10:39
Show Gist options
  • Save rickcnagy/5942182 to your computer and use it in GitHub Desktop.
Save rickcnagy/5942182 to your computer and use it in GitHub Desktop.
Git reset to match master
git stash && git fetch origin && git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment