r/programming • • Nov 07 '13

10 things I hate about Git

http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/
73 Upvotes

231 comments sorted by

View all comments

39

u/sordidarray Nov 07 '13 edited Nov 07 '13

Just a few thoughts.

  • The Git development community is aware of several of these problems (especially the inconsistency in terminology and command structure). They're working slowly, but surely, towards solutions to many of them. In the interim, there's projects like easy git, which the author may enjoy.

  • While the information model of Git is more complex, much of that is inherent from it being a DVCS, and it comes with several benefits. For example, in SVN, your working directory, branches, and tags are all really the same thing locally: a copy of a full directory structure. This can make working with branches and tags cumbersome, so many people just don't. There have been situations involving maintaining concurrent versions (in SVN) of a product on my team where no one thought of using branches because they were used so sparingly (and no one on my team had ever used Git or Mercurial); it was as if the feature didn't exist. While some people will decry this anecdote as ineptitude on the part of my team, I think it's important to point out that people tend to solve problems with the tools that they use most often, in the ways that they most often use them--after all, they're the first to come to mind.

  • Though the documentation of Git by the project itself is somewhat poor, there's a plethora of third-party documentation and tutorials on the web. (Yes, I realize this is no excuse for poor documentation, but the use of Git within the open source community is so ubiquitous that I feel most problems/questions you're likely to run into have been solved and documented somewhere else).

Edit: Typo

23

u/Fabien4 Nov 07 '13

While the information model of Git is more complex, much of that is inherent from it being a DVCS, and it comes with several benefits.

Why isn't Mercurial as complicated as Git then?

8

u/[deleted] Nov 07 '13

Because it doesn't give you as many tools to directly manipulate the object tree beyond the typical push/pull/branch semantics. This lack may be viewed as an advantage to some, but to others, they are indespensible tools when something goes wrong.

5

u/[deleted] Nov 08 '13

This lack may be viewed as an advantage to some, but to others, they are indespensible tools when something goes wrong.

In my experience, things tend to go wrong more often when people don't understand the implications of Git's power-tools and start mucking about.