Skip to content

Ignore unnecessary drupal core files. #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Ignore Drupal 8 core files.
/web/*
!/web/*/
/web/sites/default/default.services.yml
/web/sites/default/default.settings.php
/web/sites/development.services.yml
/web/sites/example.*.php

# Uncomment in case you want to commit a custom version of one of these files.
#!/web/.htaccess
#!/web/robots.txt
#!/web/web.config

# Ignore directories generated by Composer
/drush/contrib/
/vendor/
@@ -8,8 +21,7 @@
/web/libraries/

# Ignore sensitive information
/web/sites/*/settings.php
/web/sites/*/settings.local.php
/web/sites/*/settings*.php

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