Skip to content

Latest commit

 

History

History

git-undo-commit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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: