.gitignore in Drupal Core
Included by default in Drupal Core is a .gitignore file. This file lives in the root folder. So why is it worth noting?
If you are using Git for version control, then this .gitignore file sets up recommended directories and files that should NOT be under version control. When we take a look at this file, we see the following:
# Ignore configuration files that may contain sensitive information.
sites/*/settings*.php
# Ignore paths that contain user-generated content.
sites/*/files
sites/*/private
These small touches are what make the Drupal system so vibrant.
Monday, September 12, 2011 - 12:32

Add new comment