Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 271 Bytes

index.md

File metadata and controls

20 lines (13 loc) · 271 Bytes

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: