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.

-17

u/[deleted] Jun 19 '14

Ya, and my socket set has imperial and metric. So what? You learn to use it just the same.

13

u/slavik262 Jun 19 '14 edited Jun 19 '14

Yeah, you do, and I use Git for everything I do. That doesn't mean it can't be improved so that newcomers don't have to suffer the same pains we have. It doesn't have to be this hard. You could have a cleaner, more consistent interface without sacrificing one ounce of Git's awesomeness.

-3

u/[deleted] Jun 19 '14

I think the fix is to the core git UI itself not to add wrappers around it.

7

u/slavik262 Jun 19 '14

I agree completely. I'm not advocating for some third-party shim. This should really be addressed by the Git developers, and I'm pretty disappointed that it still hasn't, especially when they just rolled out a new major version and broke backwards compatibility anyways.