Undo most recent git commit
Undos the last git commit while leaving the working tree (the state of the files on disk) untouched.
Authored by: Mark AmeryBrought to you by Warp, a free terminal reimagined to work like a modern app.
Command
Copy
git reset HEAD~
Tags
Edit in GitHub
Copied