Drupal.gitignore 984 字节
Newer Older
1 2
# gitignore template for Drupal 8 projects
#
3
# earlier versions of Drupal are tracked in `community/Python/`
L
Luis Abreu 已提交
4

5 6 7
# Ignore configuration files that may contain sensitive information
/sites/*/*settings*.php
/sites/*/*services*.yml
L
Luis Abreu 已提交
8

9 10 11 12 13 14 15 16 17 18 19 20
# 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

21 22 23
# Ignore testing related files
/sites/simpletest

24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
# 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
J
Joe Hassick 已提交
45
/LICENSE.txt
L
Luis Abreu 已提交
46
/README.txt
47 48
/robots.txt
/update.php
49
/web.config