Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 275 Bytes

index.md

File metadata and controls

19 lines (13 loc) · 275 Bytes

git reset-commit-hard

Move backwards on the commit chain

Git alias:

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

Example:

git reset-commit-hard

See how to use this alias and related ones: