| 1 | # gitignore template for Drupal 8 projects |
| 2 | # |
| 3 | # earlier versions of Drupal are tracked in `community/PHP/` |
| 4 | |
| 5 | # Ignore configuration files that may contain sensitive information |
| 6 | /sites/*/*settings*.php |
| 7 | /sites/*/*services*.yml |
| 8 | |
| 9 | # Ignore paths that may contain user-generated content |
| 10 | /sites/*/files |
| 11 | /sites/*/public |
| 12 | /sites/*/private |
| 13 | /sites/*/files-public |
| 14 | /sites/*/files-private |
| 15 | |
| 16 | # Ignore paths that may contain temporary files |
| 17 | /sites/*/translations |
| 18 | /sites/*/tmp |
| 19 | /sites/*/cache |
| 20 | |
| 21 | # Ignore testing related files |
| 22 | /sites/simpletest |
| 23 | |
| 24 | # Ignore drupal core (if not versioning drupal sources) |
| 25 | /core |
| 26 | /modules/README.txt |
| 27 | /profiles/README.txt |
| 28 | /sites/README.txt |
| 29 | /sites/example.sites.php |
| 30 | /sites/example.settings.local.php |
| 31 | /sites/development.services.yml |
| 32 | /themes/README.txt |
| 33 | /vendor |
| 34 | /.csslintrc |
| 35 | /.editorconfig |
| 36 | /.eslintignore |
| 37 | /.eslintrc.json |
| 38 | /.gitattributes |
| 39 | /.htaccess |
| 40 | /autoload.php |
| 41 | /composer.json |
| 42 | /composer.lock |
| 43 | /example.gitignore |
| 44 | /index.php |
| 45 | /LICENSE.txt |
| 46 | /README.txt |
| 47 | /robots.txt |
| 48 | /update.php |
| 49 | /web.config |