Created
February 25, 2014 18:43
-
-
Save pythonicrubyist/9215018 to your computer and use it in GitHub Desktop.
Deleting the last Git commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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