Skip to content

Instantly share code, notes, and snippets.

@carltondickson
Created February 22, 2016 10:16
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 carltondickson/2c6d2974780c0438ec8d to your computer and use it in GitHub Desktop.
Save carltondickson/2c6d2974780c0438ec8d to your computer and use it in GitHub Desktop.
GIT - Reset to a previous commit
# Local reset:
git reset --hard fj5789sufj
# Remote reset:
git push -f origin fj5789sufj:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment