Last active
August 25, 2023 14:12
-
-
Save nara-l/ae8dc9fca113f13c9a181f9a6d0ec90d to your computer and use it in GitHub Desktop.
Reset Merge
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 | |
This would delete last commit https://stackoverflow.com/a/1338744 |
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 --merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment