Created
November 4, 2021 07:35
-
-
Save za/3ef289c431cc5d07d37a8a670d2cd0f6 to your computer and use it in GitHub Desktop.
git reset one commit (local 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 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment