summaryrefslogtreecommitdiff
path: root/gitignore/Drupal.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'gitignore/Drupal.gitignore')
-rw-r--r--gitignore/Drupal.gitignore49
1 files changed, 49 insertions, 0 deletions
diff --git a/gitignore/Drupal.gitignore b/gitignore/Drupal.gitignore
new file mode 100644
index 0000000..1c10127
--- /dev/null
+++ b/gitignore/Drupal.gitignore
@@ -0,0 +1,49 @@
+# gitignore template for Drupal 8 projects
+#
+# earlier versions of Drupal are tracked in `community/PHP/`
+
+# Ignore configuration files that may contain sensitive information
+/sites/*/*settings*.php
+/sites/*/*services*.yml
+
+# 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
+
+# Ignore testing related files
+/sites/simpletest
+
+# 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
+/LICENSE.txt
+/README.txt
+/robots.txt
+/update.php
+/web.config