by mmariani · 14y ago · 0 comments
Linus on git:
...it wasn't all that pleasant to use for outsiders early
on, and it can still be very strange if you come from some
traditional SCM, but it really has made my life *so* much
better...
So, here he pretty much acknowledges you have to think like Linus to get git like Linus. I remember getting bashed here on HN for saying so, but I don't care and I'll say it again.From the user's perspective git is not fun to use, at least not like hg or fossil are. Good programs just get the job done, but great programs are fun to use.
And to be fair your point is entirely opinion based anyways. You don't like git (fair enough), but you might be getting bashed because it is a lot of people's tool of choice.
Personally I absolutely love Git.
http://www.catb.org/esr/writings/taoup/html/ch01s06.html
There's only a few guidelines there that git obeys. The most obvious one it obeys is "separation".
For example "Clarity is better than cleverness": Git provides a clear internal structure (Blob DAG). It does not try to provide clever merge algorithms, since "Buying a small increase in performance with a large increase in the complexity and obscurity of your technique is a bad trade".
Or another example "Design programs to be connected with other programs". In contrast to Mercurial, many git commands are separate programs and it is trivial to implement your own in any language.
Arguably git violates "In interface design, always do the least surprising thing", since it does not try to provide a comfy start for svn exiles.
If you are learning a set of 'incantations', git will always seem hard to use. But if you take some time to learn how git works on the inside (which is really not that hard), it gets much easier to understand why and how you need to use a certain command.
Some argue that this is why git is bad, but I'd argue that this in the end is a good thing, because it gives you so much more power.
Learning how to use git is an investment, bit in my opinion an investment worthwhile.
I use a traditional SCM everyday at work (Perforce) and it only took me an hour or so of reading to get Git and be productive with it. I'm not sure I'd say Git is "fun" to use, but I'm not sure I'd say that any SCM I've ever used is "fun". Getting the job done is more important than fun to me.