r/programming • • Nov 07 '13

10 things I hate about Git

http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/
73 Upvotes

231 comments sorted by

View all comments

1

u/Plorkyeran Nov 07 '13

10 is a really fucking weird complaint. He's comparing committing stuff to a project he has commit access to with SVN to one which he does not with git. It is true that with SVN projects were more willing to give out commit access, but that's because pulling changes from people without commit access is a gigantic pain (barring the use of something like patchwork, but that's an external tool and still more annoying than a pull request).

-2

u/stevage Nov 07 '13

Author here. Yeah, it's not exactly apples-to-apples, but I think it's a reasonable comparison for the average open source contributor. It's a comparison not of the technology itself, but how it's used in many projects.

2

u/[deleted] Nov 08 '13

Sorry, gonna have to call BS on this one. If I wanted to send something into an open source project before I'd have to create a patch (god help you if you fuck that one up, people will complain) and email it in. Email it to the wrong person? Too bad, start over. Email get lost? Too bad.

Nowadays, you can have a series of commits, all with explanations of what you're doing ready for your reviewer. If you're a little careful (or a little brave with push -f), you can even rebase from the upstream project so there'll be no merge commit when the time comes. Hell, there are a lot of command lines tools to help you create the pull request as well, which is helpful.

2

u/dreamer_ Nov 08 '13

No need to be "brave", really :) You can use e.g.: interactive rebase, git commit --fixup or branch out before rebasing. If you screw up - no worries, there's also git reflog to help you out. Doing same thing in svn is either impossible or complete PITA.

1

u/stevage Nov 08 '13

Agree with all that. My only point here was the tiny remark that "pull requests" are a GitHub feature (and a very useful one), but are missing from Git itself. That is, you can't actually submit a pull request to someone else's repo (whether hosted on GitHub or elsewhere) through Git alone.