My .gitignore Trick for Drupal Using Multi-site

I'm always tweaking my Git setup in search of version control nirvana. One thing I've been doing over the past several months makes use of .gitignore and Drupal's multisite feature. The default .gitignore for Drupal 7 looks like this:

Git and Drupal: my .gitignore file

If you're doing anything more than just experimenting in Drupal, you should be using some sort of version control software. If you haven't already picked a version control system, you should go with Git. Why?

Subscribe to RSS - Git