I guess I'm alone in finding git not that hard to use. My only issue is git isn't pretty and to that end I have a few scripts to give me prettier logs (like most people have) and prettier branch summaries (my macro displays all branches, their latest commit id and dates).
Beyond that I manipulate my tree with straight up git commands.
Any halfway competent developer should be able to master git in a couple of weeks let alone be able to write their own version of git given a couple of full time weeks to work in.
Any halfway competent developer should be able to master git in a couple of weeks
The problem is that not every competent developer is interested in mastering a source control system. I work in a group that develops pretty complex NLP software and spend way too much time helping people with git.
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.
44
u/[deleted] Jun 19 '14
I guess I'm alone in finding git not that hard to use. My only issue is git isn't pretty and to that end I have a few scripts to give me prettier logs (like most people have) and prettier branch summaries (my macro displays all branches, their latest commit id and dates).
Beyond that I manipulate my tree with straight up git commands.
Any halfway competent developer should be able to master git in a couple of weeks let alone be able to write their own version of git given a couple of full time weeks to work in.