build-configs/templates/php/drupal/.gitignore.twig

64 lines
1.7 KiB
Twig
Raw Normal View History

2023-09-24 21:54:30 +00:00
# {{ managedText|raw }}
{% if not experimental.createInclusiveGitIgnoreFile %}
2023-09-24 21:54:30 +00:00
.editorconfig
.env
.gitattributes
vendor/
{{ drupal.docroot }}/.csslintrc
{{ drupal.docroot }}/.eslintignore
{{ drupal.docroot }}/.eslintrc.json
{{ drupal.docroot }}/.ht.router.php
{{ drupal.docroot }}/.htaccess
{{ drupal.docroot }}/INSTALL.txt
{{ drupal.docroot }}/README.md
{{ drupal.docroot }}/autoload.php
{{ drupal.docroot }}/core/
{{ drupal.docroot }}/example.gitignore
{{ drupal.docroot }}/index.php
{{ drupal.docroot }}/modules/README.txt
{{ drupal.docroot }}/modules/contrib/
{{ drupal.docroot }}/profiles/README.txt
{{ drupal.docroot }}/robots.txt
{{ drupal.docroot }}/sites/*/files/
{{ drupal.docroot }}/sites/*/private/
{{ drupal.docroot }}/sites/*/services*.yml
{{ drupal.docroot }}/sites/*/settings*.php
{{ drupal.docroot }}/sites/README.txt
{{ drupal.docroot }}/sites/default/default.services.yml
{{ drupal.docroot }}/sites/default/default.settings.php
{{ drupal.docroot }}/sites/development.services.yml
{{ drupal.docroot }}/sites/example.settings.local.php
{{ drupal.docroot }}/sites/example.sites.php
{{ drupal.docroot }}/sites/simpletest/
{{ drupal.docroot }}/themes/README.txt
{{ drupal.docroot }}/themes/contrib/
{{ drupal.docroot }}/update.php
{{ drupal.docroot }}/web.config
{% if flake is not defined %}
2023-10-08 16:38:09 +00:00
# Docker.
.env
docker-compose.override.yaml
{% endif %}
2023-10-19 20:48:40 +00:00
{% if flake is defined %}
.dir-env/
{% endif %}
{% else %}
# Ignore everything.
*
2023-10-19 20:48:40 +00:00
# Include these things:
!/{{ drupal.docroot }}/*/custom/**
{% endif %}
2024-02-12 19:58:46 +00:00
{% for path in git.ignore|default([])|sort %}
{{ path }}
{% endfor %}
{% if experimental.createInclusiveGitIgnoreFile %}
# Even if they are in sub-directories.
!*/
{% endif %}