# This file contains .gitignore rules that are often used with Drupal projects.
# Because .gitignore is specific to your site and its deployment processes, you
# may need to uncomment, add, or remove rules.

# Ignore paths that contain user-generated content.
# ------------------------------------------------------------------
/web/sites/*/files
/web/sites/*/private

# Ignore Drupal directories generated by Composer
# ------------------------------------------------------------------
/web/core/
/web/libraries/
/web/themes/contrib/
/web/modules/contrib/
/web/profiles/contrib/
/drush/Commands/contrib/
/web/private/scripts/quicksilver

# Ignore vendor directories generated by Composer
# ------------------------------------------------------------------
/vendor/

# Ignore Drupal environment services and settings.
# ------------------------------------------------------------------
!/web/sites/*/services.yml
/web/sites/*/services*.yml
/web/sites/*/settings.local.php

# Ignore SimpleTest multi-site environment.
sites/simpletest

# Other common rules
# ------------------------------------------------------------------

# Ignore files generated by PhpStorm
/.idea/

# Ignore .env files as they are personal
/.env

# Ignore logs and sql dumps that contain sensitive information
*.log
*.sql

# Ignore cache files that are generated from various processes.
/*.cache

# Don't ignore the .gitkeep which preserves the directory structure.
!.gitkeep

# The drupal/core-composer-scaffold component will write .gitignore
# files to other locations where it scaffolds files that are not
# already ignored. We must also ignore these generated files.
/web/**/.gitignore
