Skip to content

Instantly share code, notes, and snippets.

@pserrano
Created September 14, 2017 09:34
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 pserrano/9330493e6c10bf8a0974b1e66b2b6fd4 to your computer and use it in GitHub Desktop.
Save pserrano/9330493e6c10bf8a0974b1e66b2b6fd4 to your computer and use it in GitHub Desktop.
Remove commit and revert
git reset --hard <commit-hash>
git push -f origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment