Last active
August 30, 2025 21:09
-
-
Save h4n0sh1/dfd60047740087a78629bfd106349360 to your computer and use it in GitHub Desktop.
Git Cheatsheet
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
Rewind main branch to commit 075 | |
git push -f origin 075a6830540d97674694902c7eaaa6be5c222330:main | |
Unstage most recent commit | |
git reset HEAD~1 | |
Amend most recent commit message | |
git commit --amend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment