Skip to content

Files

Latest commit

 

History

History

git-undo-commit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 21, 2022
Jan 11, 2022

git undo-commit

Undo a commit with a soft reset

Git alias:

undo-commit = reset --soft HEAD~1

Example:

git undo-commit

See how to use this alias and related ones: