r/programming • • Jun 19 '14

Reinventing GIT interface

http://tonsky.me/blog/reinventing-git-interface/
221 Upvotes

325 comments sorted by

View all comments

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.

57

u/slavik262 Jun 19 '14

Git's UI is terribly inconsistent and wonky. See git koans.

To summarize, if you don't have the five minutes to read something hilarious:

  • Git ignores attempts to alias core commands, but doesn't warn you that it is ignoring them.

  • git checkout does several completely unrelated things in different contexts.

  • Flags for various git commands are terribly inconsistent.

  • Git's man pages are terrible.

-13

u/kelton5020 Jun 19 '14 edited Jun 19 '14

You don't give any actual examples for the last three out of 4 things.

Git's man pages are terrible.

What does this even mean? Without examples its just some guys opinion, and even more without examples it makes you look like you don't understand git.

If I don't like something and I don't have any concrete examples of WHY it is actually bad, I always say "I don't like x. I don't have any real reason for it, but I do". That way my ignorance doesn't end up making other people think something is bad when most likely it isn't.

6

u/kankyo Jun 19 '14

-3

u/[deleted] Jun 19 '14

reddit: "I linked it so it must be true."

The author basically admits the jargon is unfamiliar to him (which as a developer none of that should be) and he couldn't be arsed to actually read anything further when he came across something that wasn't spoonfed to him.

There's an entire resource devoted to helping people understand Git, under nearly every Git community I am part of constantly references it, but of course admitting that this information has already been compiled and extensively used would make the author look like a bozo so let's just all ignore it.

http://git-scm.com/book/en/Git-Basics-Tagging

11

u/slavik262 Jun 19 '14

You don't give any actual examples for the last three out of 4 things.

Read the Git Koans post. It gives examples for all of this. My comment was a summary, hence the "To summarize...".

What does this even mean? Without examples its just some guys opinion

Again, the link I provided shows a concrete example of how it can be improved. Git's man pages seem to make a lot of assumptions about your base knowledge of how git works. It could do a much better job to explain itself to newcomers (again, see the example).