GIT vs SVN (part 2)

Submitted by Jochus on Tue, 31/08/2010 - 00:06 | Posted in: Linux

A couple of weeks ago, I made this blogpost. Last week, I visited DrupalCon CPH. There was a talk by Randy Fay about GIT. The presentation was really good, as of the demo! But as I discovered in my blogpost, I still see no advantages from moving to a distributed architecture. This architecture is required for open source development as Drupal, kernel of Linux and many, many other open source frameworks, but I doubt it's useful in an enterprise, where you work with a team on several branches, etc, etc, ...

Anywayz, this is what I wrote down:

Advantages

  • GIT is really great for community projects, such as Drupal, Wordpress, kernel of Linux and all other open source communities
  • you really have a copy of the project on your local disk and you can create tags, branches, ... for whatever and for as long as you want. You never get back to the server. This is easy when you're often at different locations or you're not always connected to the network
  • it's so much faster to swith from a branch to a branch
  • you don't need the SSH access keys, it's possible to do HTTP authentication => I was wrong about this in my previous blogpost

Disadvantages

  • an extra operation is required
  • // GIT
    $ git add foo.bar
    $ git commit foo.bar -m "initial commit"
    $ git push # to server
     
    // SVN
    $ svn add foo.bar
    $ svn commit foo.bar -m "initial commit" # and that's really it!

Add new comment

The content of this field is kept private and will not be shown publicly.

Full HTML

  • Lines and paragraphs break automatically.
  • You can caption images (data-caption="Text"), but also videos, blockquotes, and so on.
  • Web page addresses and email addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <cpp>, <css>, <html5>, <java>, <javascript>, <php>, <sql>, <xml>. The supported tag styles are: <foo>, [foo].
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.