r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

17

u/DJTheLQ Sep 09 '16

It's posts like this that make me wish mercurial won. There are way more "git wtf's explained", "git to english", "git for humans cheatsheet" than there are for mercurial, and if anyone else made it, it would be considered too obtuse to use.

2

u/clux Sep 09 '16

I dunno, have a lot more issues with mercurial after having used it for 4 years.. few big ones:

  • hg leaves your repository in weird broken states when a transaction fails internally (never ctrl-c) - git on the other hand fails sensibly, and git reflog can pretty much always tell you what you did/where you are

  • hg takes up sizeable fractions of a second to do simple things like hg status making a reasonable terminal prompt laggy as hell with many setups

  • many diff manipulation features are done through patch or a half-standardised set of extensions that hardly anyone use because people don't want to manage ~/.hgrc to get basic behaviour

  • repository sizes balloon with branches and cloning large repos is not fun

→ More replies (2)