Skip to content

Commit 3bdb155

Browse files
committed
* 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
1 parent 4b6bf65 commit 3bdb155

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

Drupal.gitignore

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
1-
sites/default/files
2-
sites/default/private
3-
sites/default/settings.php
1+
# Ignore configuration files that may contain sensitive information.
2+
sites/*/*settings*.php
3+
4+
# Ignore paths that contain generated content.
45
cache/
56
files/
6-
/README.txt
7+
sites/*/files
8+
sites/*/private
9+
10+
# Ignore default text files
11+
.htaccess
12+
robots.txt
713
/CHANGELOG.txt
814
/COPYRIGHT.txt
915
/INSTALL*.txt
1016
/LICENSE.txt
1117
/MAINTAINERS.txt
1218
/UPGRADE.txt
13-
robots.txt
19+
/README.txt
1420
sites/all/README.txt
1521
sites/all/modules/README.txt
1622
sites/all/themes/README.txt
17-
.htaccess
1823

19-
#for non core developer
20-
#only include "sites" folder without exclusions before
24+
# Ignore everything but the "sites" folder ( for non core developer )
25+
web.config
26+
authorize.php
2127
cron.php
2228
index.php
2329
install.php
@@ -28,5 +34,4 @@ xmlrpc.php
2834
/modules
2935
/profiles
3036
/scripts
31-
/themes
32-
37+
/themes

0 commit comments

Comments
 (0)