3 ms·
I don't believe hg is any better in this respect.
by jlebar 7y ago
I don't believe hg is any better in this respect.
- yjftsjthsd-h 7y agoI can tell you that it is in at least one use case that I've hit. If you have local uncommitted changes to a file, and then run `hg revert file` to undo your changes, it creates (by default) a ".orig" backup. The equivalent git command (`git checkout --hard` or something?) will just throw out local changes with no takebacks.
- philpem 7y agoI would absolutely love it if Git had this feature. Having it on Hg has saved me so many times.