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 Amery

Command
Copy
git reset HEAD~
Tags