aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoby Chapple <coby@github.com>2012-08-02 20:02:12 -0700
committerCoby Chapple <coby@github.com>2012-08-02 20:02:12 -0700
commitfcb11295b51f0d3edb79cf7df678e84b59126644 (patch)
tree5f34fda97dac1b0e16c284dc59aac289a9580750
parent52398081c61a7d541a12e51be4c02929cc60ec72 (diff)
parent3bdb155bd2ed3e83152694e783bf1d2b955f03a1 (diff)
downloadgitignore-fcb11295b51f0d3edb79cf7df678e84b59126644.tar.gz
gitignore-fcb11295b51f0d3edb79cf7df678e84b59126644.zip
Merge pull request #392 from lmjabreu/patch-2
Added file exclusions, reformatted
-rw-r--r--Drupal.gitignore25
1 files 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