Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it worth going to Git from SVN for a single developer?

Tags:

git

svn

--- THIS THREAD IS VERY LIKELY OUTDATED AS OF 2013 ---

Is it worth going to GIT from SVN when the repositories are mainly accessed by a single developer? I have several machines that I use for development and not mainly develop in C#. But I have a mix of VB, VB.Net, PHP, C#, C++, HTML, Batch, BASH and many more in my repositories. What, if anything, will I gain by migrating to GIT from SVN? Right now use TortoiseSVN + VisualSVN Server with a set of central repositories and several client machines. While I have granted a few friends access to my repositories they do not Update or Commit often (if ever).

Also is there a way to have the flexibility and ease of maintenance I get with VisualSVN Server + TortiseSVN with Git?

((I'll bite... what other platforms and trickery would be compelling for a single developer/small group?)

Please List Pros and Cons not just one sided opinions.

Current Tool Chain... Visual Studio 2008 (C#/VB.Net) + TortoiseSVN + VisualSVN

Main Focus... XNA Games, WCF/Socket Services, Web Development


2 Answers

I can give you three advantages:

  1. You can have multiple back up repositories. Git isn't centralised, so you can keep your repo on whatever machine you're working on and push changes to any back up locations you have. I keep my repos on github, and two other locations.
  2. Branching, merging, rebasing, amending commits, git bisect. Just because you are a single dev, there is no reason not to use the best tools.
  3. git-svn - you can give it a try in parallel with your subversion repos while you make your mind up.

There is a disadvantage; and that is that the visualisation tools available on Windows are not as user friendly as those that are, perhaps, available for other platforms.

like image 200
2 revsAbizern Avatar answered Sep 13 '25 02:09

2 revsAbizern


Apart from what has already been said, If you're a single developer and haven't experienced troubles with SVN I see no reason to switch. svnserve (the daemon) works fine locally (I have OS X).

TortoiseSVN is a blessing compared to Git tools… is there any particular reason why you'd like to move away from Subversion?

like image 39
3 revs, 2 users 67%Martín Marconcini Avatar answered Sep 13 '25 02:09

3 revs, 2 users 67%Martín Marconcini