2018-10-27 21:09:11 +08:00
|
|
|
# gitignore template for Drupal 8 projects
|
|
|
|
#
|
2019-03-11 20:05:49 +08:00
|
|
|
# earlier versions of Drupal are tracked in `community/PHP/`
|
2012-07-16 00:53:32 +08:00
|
|
|
|
2018-10-27 21:09:11 +08:00
|
|
|
# Ignore configuration files that may contain sensitive information
|
|
|
|
/sites/*/*settings*.php
|
|
|
|
/sites/*/*services*.yml
|
2012-07-16 00:53:32 +08:00
|
|
|
|
2018-10-27 21:09:11 +08:00
|
|
|
# Ignore paths that may contain user-generated content
|
|
|
|
/sites/*/files
|
|
|
|
/sites/*/public
|
|
|
|
/sites/*/private
|
|
|
|
/sites/*/files-public
|
|
|
|
/sites/*/files-private
|
|
|
|
|
|
|
|
# Ignore paths that may contain temporary files
|
|
|
|
/sites/*/translations
|
|
|
|
/sites/*/tmp
|
|
|
|
/sites/*/cache
|
|
|
|
|
2019-03-08 21:43:28 +08:00
|
|
|
# Ignore testing related files
|
|
|
|
/sites/simpletest
|
|
|
|
|
2018-10-27 21:09:11 +08:00
|
|
|
# Ignore drupal core (if not versioning drupal sources)
|
|
|
|
/core
|
|
|
|
/modules/README.txt
|
|
|
|
/profiles/README.txt
|
|
|
|
/sites/README.txt
|
|
|
|
/sites/example.sites.php
|
|
|
|
/sites/example.settings.local.php
|
|
|
|
/sites/development.services.yml
|
|
|
|
/themes/README.txt
|
|
|
|
/vendor
|
|
|
|
/.csslintrc
|
|
|
|
/.editorconfig
|
|
|
|
/.eslintignore
|
|
|
|
/.eslintrc.json
|
|
|
|
/.gitattributes
|
|
|
|
/.htaccess
|
|
|
|
/autoload.php
|
|
|
|
/composer.json
|
|
|
|
/composer.lock
|
|
|
|
/example.gitignore
|
|
|
|
/index.php
|
2010-11-21 04:20:41 +08:00
|
|
|
/LICENSE.txt
|
2012-07-16 00:53:32 +08:00
|
|
|
/README.txt
|
2018-10-27 21:09:11 +08:00
|
|
|
/robots.txt
|
|
|
|
/update.php
|
2018-11-23 03:34:14 +08:00
|
|
|
/web.config
|