Re:Some bad Git situations and how I got myself out of them
by TickleSteve on Friday September 09, 2016 @05:36AM
(#12460684)
Finally someone with a real advantage that a DVCS (not necessarily git) has over SVN.... local branches.
Most people just spout the same sheep-like line "git>svn" without being able to justify it!
I used SVN for 7 or 8 years and then Git for the past 3, with about a year of overlap (on different repos).
To me, Git is vastly superior. I tend to use it in quite an "SVN-like" fashion - there's a single main trunk branch that we all share - but in terms of what I can do locally it blows SVN out of the water.
The difference is that Git makes things that are hard or impossible in SVN trivial. So for e.g. I create local branches all the time; I commit a bunch of small changes locally as I experiment with a fix, and then `merge --squash` to leave a clean history for others; merging fixes across different branches is easy and just works.