Category: git

Subcategory: history

Value: git reset --hard HEAD~1

Miniscription: Undo last commit discard changes

Description: Moves HEAD back one commit and permanently discards all changes from that commit including the working tree.

Kontributer: iarc13