4 ms·`hg` literally already has `hg undo` as a command. It's good that `git` can have a similar toolby windowojji 5y ago`hg` literally already has `hg undo` as a command. It's good that `git` can have a similar tool