Skip to content

Latest commit

 

History

History

git-undo-commit-hard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git undo-commit-hard

Undo a commit with a hard reset

Git alias:

undo-commit-hard = reset --hard HEAD~1

Example:

git undo-commit-hard

See how to use this alias and related ones: