News for hackers. Stuff that matters.
Re:A visual Git reference by endeavor on Wednesday June 27, 2012 @12:25PM (#4167729)
Very nice set of diagrams.

But every time I see something this I have to ask myself again why I'm just not using CVS (or SVN, i.e. a simpler tool).

Re:A visual Git reference by aidenn0 on Wednesday June 27, 2012 @12:32PM (#4167772)
Because experience shows that on any sufficiently long-running project, you're going to need some of the power that CVS/SVN don't have.
Re:A visual Git reference by gbog on Wednesday June 27, 2012 @07:56PM (#4169812)
You're wrong, git is simpler. I mean it has a simpler architecture, a simpler foundation. This simpler architecture means some changes in your habits and, because it is a new tool, an interface that is a bit rough on the edges.
Re:A visual Git reference by Dylan16807 on Thursday June 28, 2012 @02:56AM (#4170595)
Git simpler? I really don't see how. SVN is focused on having one branch, canonical copy on the server, and you have two big buttons to pull down the newest updates to your copy and also to put your own updates into the master.
Re:A visual Git reference by mitjak on Friday June 29, 2012 @11:42AM (#4177164)
That seems intuitive because you're used to such a workflow. As someone who started out with git and then learnt about SVN, I found the non-distributed approach somewhat puzzling and limiting.
Re:A visual Git reference by Dylan16807 on Friday June 29, 2012 @01:29PM (#4177817)
I've used git much more than SVN. SVN's model is definitely limiting but it's very simple.
Re:A visual Git reference by columbo on Wednesday June 27, 2012 @12:53PM (#4167854)
My opinion in the svn vs git debate:

Unless you are working across multiple groups with developers in different time zones and a choppy set of releases you'll see almost no benefit from git.

However, if you are in that situation the benefits are large and immediate.

Re:A visual Git reference by rimantas on Wednesday June 27, 2012 @01:56PM (#4168150)
Well, if you enjoy 'log' pulling info over the network (slowly), .svn in every single folder, barely useable branching, no reabase, no stach, no… well maybe you have the point. Otherwise not even comparable. When I first saw Linus' talk on git where he was very harsh toward SVN uers I thought "WTF". Then I tried git and had to admit that the man was right.
Re:A visual Git reference by mhewett on Wednesday June 27, 2012 @02:24PM (#4168343)
Since Subversion 1.7 (2nd half of 2011) it keeps only one .svn folder in the root folder.
Re:A visual Git reference by rlpb on Wednesday June 27, 2012 @10:51PM (#4170186)
Even when working on my own, I get a massive benefit from git. I think people end up being very polarised here.

The biggest benefit I get is that I can work on a set of changes as a set rather than a linear sequence that only ever goes forwards in time. I use microcommits. As I make progress on a feature, I discover necessary refactoring that I would ideally have been done before I started to add the feature. Interactive rebase allows me to make this so, and the result is that when I am done I can review my own work and check it for correctness with much more confidence than otherwise.

When working in open source, you're expected to provide a patch series for easy review. Git lets me produce such a thing with the same workflow.

Developers who don't wish to work this way, or are unaware of the benefits that this can bring, use git linearly and will see no benefit over Subversion.

Re:A visual Git reference by qznc on Wednesday June 27, 2012 @01:49PM (#4168110)
I love git even for personal single-developer projects.
Re:A visual Git reference by columbo on Wednesday June 27, 2012 @01:51PM (#4168120)
I do too. I'm just saying the smaller the project the more the benefits tend to lean towards personal preference over empirical evidence.
Re:A visual Git reference by Ralith on Wednesday June 27, 2012 @07:15PM (#4169690)
I think eliminating the need to set up a SVN repository for very small projects is a major boon.
Re:A visual Git reference by antris on Wednesday June 27, 2012 @06:32PM (#4169523)
Local commits and huge speed increases are some of the immediately available, tangible benefits of git over SVN.

Plus, you don't have to migrate your codebase to another SCM tool if the project unexpectedly grows into a larger one.

Re:A visual Git reference by bradbeattie on Wednesday June 27, 2012 @02:12PM (#4168261)
I was going to point you to http://whygitisbetterthanx.com/, but it seems to have been replaced with http://git-scm.com/about/.
Re:A visual Git reference by ilcavero on Wednesday June 27, 2012 @01:04PM (#4167899)
well in my case it's because SVN branches are useless. I still find mercurial much easier to use than git though.