Skip to content

Commit 12cf8c0

Browse files
committed
Ignore unnecessary drupal core files.
1 parent 7b0f5c5 commit 12cf8c0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: .gitignore

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Ignore Drupal 8 core files.
2+
/web/*
3+
!/web/*/
4+
#!/web/.htaccess
5+
#!/web/robots.txt
6+
/web/sites/development.services.yml
7+
/web/sites/example.*.php
8+
19
# Ignore directories generated by Composer
210
/drush/contrib/
311
/vendor/
@@ -8,8 +16,7 @@
816
/web/libraries/
917

1018
# Ignore sensitive information
11-
/web/sites/*/settings.php
12-
/web/sites/*/settings.local.php
19+
/web/sites/*/settings*.php
1320

1421
# Ignore Drupal's file directory
1522
/web/sites/*/files/

0 commit comments

Comments
 (0)