Skip to content

Latest commit

 

History

History

git-reset-commit-hard-clean

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git reset-commit-hard-clean

Move backwards on the commit chain

Git alias:

reset-commit-hard-clean = !git reset --hard HEAD~1 && git clean -df

Example:

git reset-commit-hard-clean

See how to use this alias and related ones: