View unanswered posts | View active topics It is currently Wed Jan 16, 2019 12:05 pm

Reply to topic  [ 5 posts ] 
 Advantages of git over SVN? 
Author Message
User avatar

Joined: Fri Jul 11, 2008 8:49 pm
Posts: 222
Location: The Netherlands
I have noticed that alot of project moves to git for version management. What are the advantages of git versus other version management systems like svn?

my blog:

Mon Apr 16, 2012 10:18 pm
Profile WWW
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1314
Location: UK
Not quite sure what you mean by a lot of project moves, whether it's all the new git repos for devkitPro or projects in general switching to git.

git is better than svn for a whole bunch of reasons really.

It's a distributed VCS which means that the entire project history is stored in every clone - i.e. every developer with a clone of a git repository has access to the entire history whether or not they have an internet connection. This also means that there's no single point of failure - if for some horiible reason SF managed to lost the devkitPro repositories then we can just reinitialise a bare repository back up there and just push one of the clones to get all the history back.

Branching in git takes basically no time at all so it's really quick and easy to start a branch for testing that you can commit to without the worry of messing up the repository for anyone else. Your changes on that branch don't even have to be public because git maintains a local repository you commit to which then gets pushed to the remote repo later.

There's a really good article at ... on-to-git/
Scott Chacon wrote:
You don’t have to mess up the mainline just to save your experimental ideas, you don’t have to be online to do it and most importantly, you can context switch almost instantly.

Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

Tue Apr 17, 2012 12:29 am
Profile ICQ WWW
User avatar

Joined: Fri Jul 11, 2008 8:49 pm
Posts: 222
Location: The Netherlands
Yes I meant projects in general.

Thanks for the comments and link, they were really helpfull.

my blog:

Tue Apr 17, 2012 8:25 am
Profile WWW

Joined: Thu Feb 03, 2011 10:47 pm
Posts: 210
Git is pretty awesome if you're willing to take the time to become a git guru. I found it to have a bit of a learning curve though, and I was trying to use it like I used subversion, which is not really a good way to think about git.

Sat Apr 21, 2012 4:22 pm
User avatar

Joined: Fri Oct 19, 2007 10:57 pm
Posts: 107
Location: Costa Rica
I know it is actually unrelated to SVN vs git, yet... I miss the really cool search & browse functionality that the SVN repository had, that somehow got lost in the git move :(

Tue Apr 24, 2012 4:10 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at Fast, secure and Free Open Source software downloads