Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 316 Bytes

File metadata and controls

20 lines (13 loc) · 316 Bytes

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: