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.
Most of people's problems with git is that they don't realize when they're digging into git's internals and suddenly start asking "why is this different?" Usually this happens because they read something on stack-overflow and decided to copy and paste shit without actually thinking about what is happening.
I made a rather lengthy post on here some time ago that I need to find that specifically rebutted the git koan's examples. A lot of them purposefully choose the most roundabout ways to illustrate a false point. Most of people's complaints about git are formed out of ignorance and sometimes willful ignorance; that site only serves to perpetuate it.
Git's man pages are only terrible if you're technically illiterate. The example given perfectly illustrates this. The man page is concise and clear, the information is all there.
Perhaps the ignorance and the technical illiteracy go hand in hand? In case the man pages are somehow not clear there is a very good resource devoted to explaining fundamental dvcs/git concepts to beginners:
Most of people's problems with git is that they don't realize when they're digging into git's internals and suddenly start asking "why is this different?"
Several of the Git Koans points, most notably inconsistent and odd flags, should have nothing to do with how internal you are. There's no reason I'm aware of that the flags couldn't have been made more consistent.
Git's man pages are only terrible if you're technically illiterate.
Ah, the "everyone who disagrees with me is a bumbling idiot" approach.
Do you really think that the suggested man page in that post isn't any clearer or easier to read?
should have nothing to do with how internal you are
How do you figure that? They're completely seperate commands. Most of the time people are just dealing with wrappers/aliases around more "to-the-metal" commands. Why would the flags not be different?
Ah, the "everyone who disagrees with me is a bumbling idiot" approach.
That's not what I said but thanks for trying to be dismissive; you're only hurting yourself. Point out to me specifically what part of the man a developer would not understand. The author's revised man page is far less concise than the man page; it's just less technical and somehow the author thought that was "better." It actually ends up hiding information about what git is doing. Please tell me how that helps anyone.
As I stated in my post, if you are not familar with git or its concepts: git-scm.com is a great resource and you should utilize it. But don't pass off willful ignorance as problems with git.
Notice the spirit of your post: you only complain without any solutions; I offered a dedicated resource that explains everything in detail when you don't know what you are doing. But I guess that's the spirit of reddit in general.
Point out to me specifically what part of the man a developer would not understand.
From the link:
If one of -a, -s, or -u is passed, the command creates a tag object, and requires a tag message. Unless -m or -F is given, an editor is started for the user to type in the tag message.
What is a tag object? What are -a, -s, -u? Why is the -m/-F effect specified in Yoda speak?
Assuming I'm reading the man page to try to understand this, the document is useless. It may be somewhat useful if you already understand the majority of the command you're learning about.
You could rewrite that particular section as:
A tag with a message may be created using -a, -s, or -u. You will be prompted to enter a message, or a message may be entered with -m "message" or -F "message".
Now, I'm not sure what -F does, and the man page from the link doesn't help explain it at all. If -m and -F are equivalent, why do they both exist? If they aren't, why isn't that clarified?
I seems that man page avoids explaining anything to someone who doesn't already know what it means, and starts from the most specific need gradually reaching the most generic. However, unless you already understand the commands involved you need to keep track of every specific instruction to even know what the generic result would be!
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.