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: