windowojji·5 lat temu·discuss`hg` literally already has `hg undo` as a command. It's good that `git` can have a similar tool