Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* 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
  • Loading branch information...
commit 3bdb155bd2ed3e83152694e783bf1d2b955f03a1 1 parent 4b6bf65
@lmjabreu authored
Showing with 15 additions and 10 deletions.
  1. +15 −10 Drupal.gitignore
View
25 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
Please sign in to comment.
Something went wrong with that request. Please try again.