Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 256 Bytes

index.md

File metadata and controls

20 lines (13 loc) · 256 Bytes

git undo-commit

Undo a commit with a soft reset

Git alias:

undo-commit = reset --soft HEAD~1

Example:

git undo-commit

See how to use this alias and related ones: