Hacker News new | ask | show | jobs
by Miiko 1516 days ago
Git has "reset" in addition to "revert" (the former mutates history but the latter does not). What Mercurial has for removing the wrong commit?

For amend option - well, we switched to Git at time of Mercurial 2.1 (I said it was long time ago), did not notice they added this feature, sorry.

2 comments

git reset does like 25 different things.
that would be `hg prune` in modern Mercurial.