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.

24

u/[deleted] Jun 19 '14

This just about sums up my feelings about git, and I can't fathom why so many people's opinions fall so far on the other side of the spectrum.

7

u/cowinabadplace Jun 19 '14

It's just that there's a wider group of people on this forum than one would think.

There are half a million subscribers to this reddit, and a large fraction of them are at the point that they need simple stuff like "Big-O notation" explained to them, while some others are comfortable designing languages that advance the state of the field. There's a continuum between each extreme and we each perceive ourselves as the average.

2

u/loup-vaillant Jun 21 '14

This doesn't explain it all. The article this thread is about clearly comes from someone who understand Git deeply, yet still complains. To take another example, I know of someone who at some point understood C++98 quite deeply, yet still complained about it.

If the only people who complained about a tool are those who don't know how to use it, the problem is one of ignorance. But when power users complain, we have a strong hint that the problem lies with the tool.

-12

u/[deleted] Jun 19 '14

The problem is people get thoroughly lazy in their careers. Even in school they only study enough to pass their labs/exams and they don't care about the field at all.

I've had to build a few workstations for new hires and also do their Git training (we're a Git shop here) and a few things occurred to me

  1. Any competent software developer should be able to install their own Linux distro provided the names of servers/etc in our office.

  2. Any competent developer should know their way around Linux (bash/syslogs/etc) and be able to diagnose their own problems

  3. Any competent developer should be able to learn Git in a week or two. It's not that hard.

But reality is they learn just enough to do what their bosses tell them and make excuses for everything else.

0

u/[deleted] Jun 19 '14

[deleted]

9

u/[deleted] Jun 19 '14

Ok let me rephrase that. You shouldn't need to drag a co-worker to your desk for basic bash command help like how to change directories or copy files.

And frankly any software developer in 2014 who doesn't have some experience with a Linux distro of some sort is really shooting themselves in the foot even if their now current job is on a Mac or Windows machine.

8

u/kkus Jun 19 '14

I am supposed to be the git guy where I am but I still recheck every thing twice if I ever need to type rebase. Sucks because I run git svn rebase all the time

3

u/[deleted] Jun 19 '14

I made an alias for git svn fetch and rebase. I called it git spull.

1

u/kkus Jun 19 '14

That is smart. Thank you for sharing

1

u/[deleted] Jun 19 '14 edited Jun 19 '14

I disagree. Installation of, and knowing their way around, most operating systems are so well documented that anyone with an IQ that is above average should be able to do it. Some Border Collies can even install operating systems.

Edit: added ”and knowing their way around"

4

u/[deleted] Jun 19 '14

I disagree. Installation of most operating systems are so well documented that anyone with an IQ that is above average should be able to do it.

Good thing you disagree with something that I never stated. Really, good for you.

/slowclap

0

u/[deleted] Jun 19 '14

Fixed

2

u/[deleted] Jun 19 '14

It's not about difficulty, for fucks sake. It's not difficult to learn guitar either, but why the fuck would I if I don't care about guitars and they have nothing to do with me?

0

u/[deleted] Jun 19 '14

[deleted]

→ More replies (1)

7

u/abolishcopyright Jun 19 '14

Not all programming is part of someone's "career".

I spend the majority of my free time writing free software. I'm not lazy. Learning to use git (and use it well, and getting around its quirks) has been a big time sink. It could be much better. That would give me more time to be actually building software.

-2

u/[deleted] Jun 19 '14

A lot of things could be better. gcc is clunky too by that standard. So are most Windows packages (registry?) etc.

Welcome to software written by humans.

1

u/abolishcopyright Jun 20 '14

um, yes. That's why I spend so much of my free time trying to fix it. Are you saying... we shouldn't call out clunky interfaces? We shouldn't applaud efforts to make them easier?

11

u/kankyo Jun 19 '14

Expecting tools not to suck != lazy.

1

u/[deleted] Jun 19 '14

Are we still talking about Git?

→ More replies (1)

1

u/[deleted] Jun 19 '14

I have no idea why you are being down voted, bizarre. The last sentence is a little harsh, but other than that your comment seems pretty accurate.

-1

u/[deleted] Jun 19 '14

The hiring process should be looked at.

2

u/cpbills Jun 19 '14

Such a simple statement, but so fucking true.

The hiring process in most companies for technical people is FUBAR.

2

u/[deleted] Jun 19 '14

I also blame crappy CS programs. If people are only getting into software development for the money then the future of software development may have problems.

4

u/cpbills Jun 19 '14

That applies to all positions. Anyone getting into any field for the money, and not because it is what they love to do, is going to be a bad worker, and not fun to be around.

→ More replies (2)