Skip to content

Commit 344e52b

Browse files
shiftkeylpalgarvio
andcommitted
Update default template to Drupal 8
Co-Authored-By: Luís Pedro Algarvio <[email protected]>
1 parent db1d52b commit 344e52b

File tree

1 file changed

+42
-35
lines changed

1 file changed

+42
-35
lines changed

Drupal.gitignore

Lines changed: 42 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,46 @@
1-
# Ignore configuration files that may contain sensitive information.
2-
sites/*/*settings*.php
3-
sites/example.sites.php
1+
# gitignore template for Drupal 8 projects
2+
#
3+
# earlier versions of Drupal are tracked in `ecosystem/Python/`
44

5-
# Ignore paths that contain generated content.
6-
files/
7-
sites/*/files
8-
sites/*/private
9-
sites/*/translations
5+
# Ignore configuration files that may contain sensitive information
6+
/sites/*/*settings*.php
7+
/sites/*/*services*.yml
108

11-
# Ignore default text files
12-
robots.txt
13-
/CHANGELOG.txt
14-
/COPYRIGHT.txt
15-
/INSTALL*.txt
9+
# 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
15+
16+
# Ignore paths that may contain temporary files
17+
/sites/*/translations
18+
/sites/*/tmp
19+
/sites/*/cache
20+
21+
# Ignore drupal core (if not versioning drupal sources)
22+
/core
23+
/modules/README.txt
24+
/profiles/README.txt
25+
/sites/README.txt
26+
/sites/example.sites.php
27+
/sites/example.settings.local.php
28+
/sites/development.services.yml
29+
/themes/README.txt
30+
/vendor
31+
/.csslintrc
32+
/.editorconfig
33+
/.eslintignore
34+
/.eslintrc.json
35+
/.gitattributes
36+
/.htaccess
37+
/autoload.php
38+
/composer.json
39+
/composer.lock
40+
/example.gitignore
41+
/index.php
1642
/LICENSE.txt
17-
/MAINTAINERS.txt
18-
/UPGRADE.txt
1943
/README.txt
20-
sites/README.txt
21-
sites/all/libraries/README.txt
22-
sites/all/modules/README.txt
23-
sites/all/themes/README.txt
24-
25-
# Ignore everything but the "sites" folder ( for non core developer )
26-
.htaccess
27-
web.config
28-
authorize.php
29-
cron.php
30-
index.php
31-
install.php
32-
update.php
33-
xmlrpc.php
34-
/includes
35-
/misc
36-
/modules
37-
/profiles
38-
/scripts
39-
/themes
44+
/robots.txt
45+
/update.php
46+
/web.config

0 commit comments

Comments
 (0)