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