Last active
October 7, 2017 21:12
-
-
Save allain/438767caccd01b199cbde3b65c914af8 to your computer and use it in GitHub Desktop.
reset all git commits to some time in the past
This file contains hidden or 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 PASTCOMMIT | |
| git reset --mixed CURRENTCOMMIT | |
| git commit -m "Message about reversal" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment