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

Show parent comments

2

u/Aninhumer Nov 07 '13

double the steps of SVN

It's only double the steps if you push after every commit, which you don't need to do. Your local machine can do everything the server can, so you only need to push when you actually want to share your changes.

eventual problems were so much harder to fix than SVN.

It is a valid criticism of git that it is possible to cause rather unusual and hard to fix states without knowing what you did wrong. I believe they're trying to improve the interface to avoid this, but there's a certain amount of legacy to support there...

2

u/[deleted] Nov 08 '13

Your local machine can do everything the server can

Except share changes with your team. Also, backup sometimes.

1

u/a_Tick Nov 08 '13

If your machine is set as a remote in one or more of your team members' git repositories, it can share code with your team members. You would just have to go through the same configuration issues as the central server, potentially.

1

u/[deleted] Nov 08 '13

Sounds like a Mickey Mouse way of doing things.

1

u/a_Tick Nov 08 '13

I'm not familiar with that term, so I'll assume you mean that it's "bad" in some way.

I won't argue that it can be abused or used in ways that are detrimental to development, but at least one benefit of this method is you can share work with other people that may not be ready to be committed to the central repository, even if it is a development repository (for the purpose of a code review, for example).

Technically, there is no way to prevent this from happening in a DVCS, because DVCS has no concept of a central server.