File tree Expand file tree Collapse file tree 1 file changed +50
-37
lines changed
Expand file tree Collapse file tree 1 file changed +50
-37
lines changed Original file line number Diff line number Diff line change 11# gitignore template for Drupal 8 projects
22#
33# earlier versions of Drupal are tracked in `community/PHP/`
4+ #
5+ # follows official upstream conventions:
6+ # https://www.drupal.org/docs/develop/using-composer
47
58# Ignore configuration files that may contain sensitive information
6- /sites /* /* settings * .php
7- /sites /* /* services * .yml
9+ /web / sites /* /* settings * .php
10+ /web / sites /* /* services * .yml
811
912# Ignore paths that may contain user-generated content
10- /sites /* /files
11- /sites /* /public
12- /sites /* /private
13- /sites /* /files-public
14- /sites /* /files-private
13+ /web / sites /* /files
14+ /web / sites /* /public
15+ /web / sites /* /private
16+ /web / sites /* /files-public
17+ /web / sites /* /files-private
1518
1619# Ignore paths that may contain temporary files
17- /sites /* /translations
18- /sites /* /tmp
19- /sites /* /cache
20-
21- # Ignore testing related files
22- /sites /simpletest
20+ /web /sites /* /translations
21+ /web /sites /* /tmp
22+ /web /sites /* /cache
2323
2424# Ignore drupal core (if not versioning drupal sources)
25- /core
25+ /web /vendor
26+ /web /core
27+ /web /modules /README.txt
28+ /web /profiles /README.txt
29+ /web /sites /development.services.yml
30+ /web /sites /example.settings.local.php
31+ /web /sites /example.sites.php
32+ /web /sites /README.txt
33+ /web /themes /README.txt
34+ /web /.csslintrc
35+ /web /.editorconfig
36+ /web /.eslintignore
37+ /web /.eslintrc.json
38+ /web /.gitattributes
39+ /web /.htaccess
40+ /web /.ht.router.php
41+ /web /autoload.php
42+ /web /composer.json
43+ /web /composer.lock
44+ /web /example.gitignore
45+ /web /index.php
46+ /web /INSTALL.txt
47+ /web /LICENSE.txt
48+ /web /README.txt
49+ /web /robots.txt
50+ /web /update.php
51+ /web /web.config
52+
53+ # Ignore vendor dependencies and scripts
2654/vendor
27- /modules /README.txt
28- /profiles /README.txt
29- /themes /README.txt
30- /sites /README.txt
31- /sites /example.sites.php
32- /sites /example.settings.local.php
33- /sites /development.services.yml
34- /.csslintrc
35- /.editorconfig
36- /.eslintignore
37- /.eslintrc.json
38- /.gitattributes
39- /.ht.router.php
40- /.htaccess
41- /autoload.php
42- /example.gitignore
43- /index.php
44- /INSTALL.txt
45- /LICENSE.txt
46- /README.txt
47- /robots.txt
48- /update.php
49- /web.config
55+ /composer.phar
56+ /composer
57+ /robo.phar
58+ /robo
59+ /drush.phar
60+ /drush
61+ /drupal.phar
62+ /drupal
You can’t perform that action at this time.
0 commit comments