example.gitignore 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This file contains default .gitignore rules. To use it, copy it to .gitignore,
  2. # and it will cause files like your settings.php and user-uploaded files to be
  3. # excluded from Git version control. This is a common strategy to avoid
  4. # accidentally including private information in public repositories and patch
  5. # files.
  6. #
  7. # Because .gitignore can be specific to your site, this file has a different
  8. # name; updating Drupal core will not override your custom .gitignore file.
  9. # Ignore core when managing all of a project's dependencies with Composer
  10. # including Drupal core.
  11. # core
  12. # Ignore dependencies that are managed with Composer.
  13. # Generally you should only ignore the root vendor directory. It's important
  14. # that core/assets/vendor and any other vendor directories within contrib or
  15. # custom module, theme, etc., are not ignored unless you purposely do so.
  16. /vendor/
  17. # Ignore configuration files that may contain sensitive information.
  18. sites/*/settings*.php
  19. sites/*/services*.yml
  20. # Ignore paths that contain user-generated content.
  21. sites/*/files
  22. sites/*/private
  23. # Ignore SimpleTest multi-site environment.
  24. sites/simpletest
  25. # If you prefer to store your .gitignore file in the sites/ folder, comment
  26. # or delete the previous settings and uncomment the following ones, instead.
  27. # Ignore configuration files that may contain sensitive information.
  28. # */settings*.php
  29. # Ignore paths that contain user-generated content.
  30. # */files
  31. # */private
  32. # Ignore SimpleTest multi-site environment.
  33. # simpletest