Created
January 16, 2024 22:51
-
-
Save tcartwright/dd8078dc944f6e5e8f4dca9307bc7320 to your computer and use it in GitHub Desktop.
GIT: Pop last commit off
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
@rem remove last commit and destroy it | |
git reset --hard HEAD~1 | |
@rem remove last commit and edit it | |
git reset HEAD~1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment