2019-12-19 23:04:12 +00:00
|
|
|
# gitignore template for Drupal 8 projects
|
|
|
|
#
|
|
|
|
# earlier versions of Drupal are tracked in `community/PHP/`
|
2021-12-12 00:25:18 +00:00
|
|
|
#
|
|
|
|
# follows official upstream conventions:
|
|
|
|
# https://www.drupal.org/docs/develop/using-composer
|
2015-08-28 08:44:04 +00:00
|
|
|
|
2019-12-19 23:04:12 +00:00
|
|
|
# Ignore configuration files that may contain sensitive information
|
2021-12-12 00:25:18 +00:00
|
|
|
/web/sites/*/*settings*.php
|
|
|
|
/web/sites/*/*services*.yml
|
2015-08-28 08:44:04 +00:00
|
|
|
|
2019-12-19 23:04:12 +00:00
|
|
|
# Ignore paths that may contain user-generated content
|
2021-12-12 00:25:18 +00:00
|
|
|
/web/sites/*/files
|
|
|
|
/web/sites/*/public
|
|
|
|
/web/sites/*/private
|
|
|
|
/web/sites/*/files-public
|
|
|
|
/web/sites/*/files-private
|
2019-12-19 23:04:12 +00:00
|
|
|
|
|
|
|
# Ignore paths that may contain temporary files
|
2021-12-12 00:25:18 +00:00
|
|
|
/web/sites/*/translations
|
|
|
|
/web/sites/*/tmp
|
|
|
|
/web/sites/*/cache
|
2019-12-19 23:04:12 +00:00
|
|
|
|
|
|
|
# Ignore drupal core (if not versioning drupal sources)
|
2021-12-12 00:25:18 +00:00
|
|
|
/web/vendor
|
|
|
|
/web/core
|
|
|
|
/web/modules/README.txt
|
|
|
|
/web/profiles/README.txt
|
|
|
|
/web/sites/development.services.yml
|
|
|
|
/web/sites/example.settings.local.php
|
|
|
|
/web/sites/example.sites.php
|
|
|
|
/web/sites/README.txt
|
|
|
|
/web/themes/README.txt
|
|
|
|
/web/.csslintrc
|
|
|
|
/web/.editorconfig
|
|
|
|
/web/.eslintignore
|
|
|
|
/web/.eslintrc.json
|
|
|
|
/web/.gitattributes
|
|
|
|
/web/.htaccess
|
|
|
|
/web/.ht.router.php
|
|
|
|
/web/autoload.php
|
|
|
|
/web/composer.json
|
|
|
|
/web/composer.lock
|
|
|
|
/web/example.gitignore
|
|
|
|
/web/index.php
|
|
|
|
/web/INSTALL.txt
|
|
|
|
/web/LICENSE.txt
|
|
|
|
/web/README.txt
|
|
|
|
/web/robots.txt
|
|
|
|
/web/update.php
|
|
|
|
/web/web.config
|
|
|
|
|
|
|
|
# Ignore vendor dependencies and scripts
|
2020-09-02 16:57:08 +00:00
|
|
|
/vendor
|
2021-12-12 00:25:18 +00:00
|
|
|
/composer.phar
|
|
|
|
/composer
|
|
|
|
/robo.phar
|
|
|
|
/robo
|
|
|
|
/drush.phar
|
|
|
|
/drush
|
|
|
|
/drupal.phar
|
|
|
|
/drupal
|