Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I understand that git is the new hip version control, but if everyone uses it with a 'master' branch... why bother? Why not just use subversion? It defeats the whole purpose of using a distributed version control system.


Fair question. Two reasons (at least):

1. Git is much, much faster than Subversion. A real-life example: merging two branches with about 2,000 commits worth of changes (~250K lines added, changed or deleted) took over 6 hours with svn but <15 minutes with git. It's not just network overhead, our network is plenty fast.

2. Though you push to a remote master, that doesn't mean you can't branch locally. You can and you should; it makes it easy to work on multiple features simultaneously.

Then there are things like `git stash` and `git archive` that make life just that much better.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: