Git alias:
undo-commit-hard = reset --hard HEAD~1
Example:
git undo-commit-hard
See how to use this alias and related ones:
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Git alias:
undo-commit-hard = reset --hard HEAD~1
Example:
git undo-commit-hard
See how to use this alias and related ones: