Răsfoiți Sursa

* 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

Luis Abreu 12 ani în urmă
părinte
comite
3bdb155bd2
1 a modificat fișierele cu 15 adăugiri și 10 ștergeri
  1. 15 10
      Drupal.gitignore

+ 15 - 10
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