From 3bdb155bd2ed3e83152694e783bf1d2b955f03a1 Mon Sep 17 00:00:00 2001 From: Luis Abreu Date: Sun, 15 Jul 2012 18:53:32 +0200 Subject: [PATCH] * Updated comments * added web.config and authorize.php * tweaked settings.php path to also ignore stock example.settings.php file * tweaked files and private folders paths to include all sites --- Drupal.gitignore | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/Drupal.gitignore b/Drupal.gitignore index 753eaedc..73677d29 100644 --- a/Drupal.gitignore +++ b/Drupal.gitignore @@ -1,23 +1,29 @@ -sites/default/files -sites/default/private -sites/default/settings.php +# Ignore configuration files that may contain sensitive information. +sites/*/*settings*.php + +# Ignore paths that contain generated content. cache/ files/ -/README.txt +sites/*/files +sites/*/private + +# Ignore default text files +.htaccess +robots.txt /CHANGELOG.txt /COPYRIGHT.txt /INSTALL*.txt /LICENSE.txt /MAINTAINERS.txt /UPGRADE.txt -robots.txt +/README.txt sites/all/README.txt sites/all/modules/README.txt sites/all/themes/README.txt -.htaccess -#for non core developer -#only include "sites" folder without exclusions before +# Ignore everything but the "sites" folder ( for non core developer ) +web.config +authorize.php cron.php index.php install.php @@ -28,5 +34,4 @@ xmlrpc.php /modules /profiles /scripts -/themes - +/themes \ No newline at end of file