Subscribe

Managing a drupal installation with cvs and git

Managing multiple drupal installations can be a pain. You have to track changes to drupal-core and all the individual modules that you use, as well as managing your own custom modules and your own custom changes to drupal-core. And if if you’re doing this with several different drupal installations it can get inconvenient quickly.

A lot of this hassle can be reduced by installing drupal from cvs rather than installing one of the releases, and by keeping your installation under version control (in this article I use git but you could use any VCS such as mercurial, svn etc).

Here I describe how I manage my drupal installations using the drupal cvs repository and git.

Moving from Subversion to Git for revision control

I’ve been using Subversion for version control for the last couple of years. It’s a lot nicer than cvs and I was quite happy with it. Then last week Olivier pointed me towards a presentation by Linus Torvalds about Git. The talk got me interested in trying out Git and I started playing around with it.