Skip to content

Commit 238d925

Browse files
committed
Ignore unnecessary drupal core files.
1 parent 7b0f5c5 commit 238d925

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Diff for: .gitignore

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Ignore Drupal 8 core files.
2+
/web/*
3+
!/web/*/
4+
#!/web/.htaccess
5+
#!/web/robots.txt
6+
/web/sites/default/default.services.yml
7+
/web/sites/default/default.settings.php
8+
/web/sites/development.services.yml
9+
/web/sites/example.*.php
10+
111
# Ignore directories generated by Composer
212
/drush/contrib/
313
/vendor/
@@ -8,8 +18,7 @@
818
/web/libraries/
919

1020
# Ignore sensitive information
11-
/web/sites/*/settings.php
12-
/web/sites/*/settings.local.php
21+
/web/sites/*/settings*.php
1322

1423
# Ignore Drupal's file directory
1524
/web/sites/*/files/

0 commit comments

Comments
 (0)