Skip to content

Instantly share code, notes, and snippets.

@pythonicrubyist
Created February 25, 2014 18:43
Show Gist options
  • Save pythonicrubyist/9215018 to your computer and use it in GitHub Desktop.
Save pythonicrubyist/9215018 to your computer and use it in GitHub Desktop.
Deleting the last Git commit
git reset --hard HEAD~1
git push origin HEAD --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment