I have experience with CVS, SVN, git, and darcs. git has a horrible interface. It would be more user friendly if commands were entered by inserting X-Acto blades into my urethra.
On solo projects, darcs. It has the benefits of git (except git-hub) without the pain. On shared projects, SVN because it's common and we don't have to deal with git.
Don't mistake hatred of git for a hatred of all SCMs.
What day-to-day action do you find hard to accomplish with Git? I'd love to hear an example of something that you do often enough to have this feeling about it.
What day-to-day action do you find hard to accomplish with Git?
Having a horrible interface doesn't necessarily makes things hard. More often, it makes them tedious. Some developers, most notably those with functional programming exposure¹, have very low tolerance for tedium.
[1] If one knows Darcs, one probably knows Haskell.
I, know there's a shortcut. But why in the name of Cthulhu should we bother with an index? Maybe it's the best thing since sliced bread for you, but I personally pay for it even if I don't use it.
$ git log c710f..7a37c
$ git diff c710f 7a37c
Wait, where are the dots? Why do I have to have dots in one command, and not in another? Why do I have to learn this special case?
Then there is how Git handles merges with push and pull. The default behaviours are sometimes surprising, and have to be worked around somewhat.
Then there are commands that can lose data when your working directory isn't clean, forcing you to use git stash explicitly. By the way, what is a stash? Looks like a commit, but stashes get their own special interface anyway. A bit like the index, actually…
You may think I'm picking nits, but they add up. Plus, I could think of those of the top of my head, and I hardly know Git myself. If I were an expert, I could probably find dozens more warts, special cases, inconsistencies, surprises…
Conclusion: Git has a horrible interface. Not because it makes Git hard to use¹, but rather because it could have been simpler, easier to discover, and less surprising, without sacrificing any power.
12
u/[deleted] Jun 19 '14
Um, any developer should be interested in SCM. It's how you control the revisions of what you're working on it.
That's like saying "electricians don't have time to learn about multimeters" ...