Created
January 25, 2023 22:01
-
-
Save marciuz/8ac2bed3bbbacd81054631b6e8cdf097 to your computer and use it in GitHub Desktop.
Drupal 9 .gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### macOS ### | |
# General | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
### Windows ### | |
# Windows thumbnail cache files | |
Thumbs.db | |
Thumbs.db:encryptable | |
ehthumbs.db | |
ehthumbs_vista.db | |
# Files that might appear in the root of a volume | |
.DocumentRevisions-V100 | |
.fseventsd | |
.Spotlight-V100 | |
.TemporaryItems | |
.Trashes | |
.VolumeIcon.icns | |
.com.apple.timemachine.donotpresent | |
# Ignore vendor dependencies and scripts | |
/vendor | |
/composer.phar | |
/composer | |
/robo.phar | |
/robo | |
/drush.phar | |
/drush | |
/drupal.phar | |
/drupal | |
# Other files | |
.editorconfig | |
.gitattributes | |
# Modules and themes | |
/web/.csslintrc | |
/web/.eslintignore | |
/web/.eslintrc.json | |
/web/.ht.router.php | |
/web/.htaccess | |
/web/INSTALL.txt | |
/web/README.md | |
/web/autoload.php | |
/web/core | |
/web/example.gitignore | |
/web/index.php | |
/web/modules/* | |
/web/profiles | |
/web/robots.txt | |
/web/sites/* | |
/web/themes/* | |
/web/update.php | |
/web/web.config | |
# Exceptions | |
!/web/modules/custom | |
!/web/themes/custom | |
!/web/libraries/custom | |
!/web/sites/* | |
/web/sites/*/*settings*.php | |
/web/sites/*/*settings.local.php | |
/web/sites/*/*services*.yml | |
web/sites/example.sites.php | |
# Ignore paths that may contain user-generated content | |
/web/sites/*/files | |
/web/sites/*/public | |
/web/sites/*/private | |
/web/sites/*/files-public | |
/web/sites/*/files-private | |
# Ignore paths that may contain temporary files | |
/web/sites/*/translations | |
/web/sites/*/tmp | |
/web/sites/*/cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment