Last active
August 4, 2021 13:58
-
-
Save ckng/33c8a8949115c7259a27cc7f4e938521 to your computer and use it in GitHub Desktop.
Drupal 8 .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
# Ignore directories generated by Composer | |
/drush/contrib/ | |
/vendor/ | |
core/ | |
modules/contrib/ | |
themes/contrib/ | |
profiles/contrib/ | |
libraries/ | |
# Ignore paths that contain user-generated content. | |
sites/*/files | |
sites/*/private | |
files/* | |
# Avoid accidental modification of pantheon.upstream.yml in sites | |
# created from this upstream | |
pantheon.upstream.yml | |
# Pantheon commits a settings.php for environment-specific settings. | |
# Place local settings in settings.local.php | |
sites/*/settings.local.php | |
# Note that services.local.yml is not loaded by default. If you would like | |
# to use this file add the following to your settings.local.php file: | |
# $settings['container_yamls'][] = __DIR__ . '/services.local.yml'; | |
sites/*/services.local.yml | |
# ** Only works in OSs that support newer versions of fnmatch (Bash 4+) | |
/sites/default/**/files | |
/sites/default/**/private | |
# Ignore SimpleTest multi-site environment. | |
sites/simpletest | |
# Ignore files generated by PhpStorm | |
/.idea/ | |
.idea | |
# Packages | |
*.7z | |
*.dmg | |
*.gz | |
*.bz2 | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
*.tgz | |
# Logs and databases | |
*.log | |
*.sql | |
# OS generated files | |
.DS_Store? | |
ehthumbs.db | |
Thumbs.db | |
._* | |
# Ignore unwanted files generated by different editors | |
# Regular gedit, kedit and other editors backup files | |
*~ | |
.revision | |
.c9 | |
# Standard backup file extension | |
*.bak | |
# vi swap file | |
*.swp | |
# vim | |
*.un~ | |
# Eclipse | |
.buildpath | |
# Cache folder for some projects | |
.cache | |
# Sublime text project folder | |
.project | |
sftp-config.json | |
# Default SASS cache file | |
.sass-cache | |
# Session folder for some self serve tools | |
.session | |
# OSX network mount folders | |
.TemporaryItems | |
# Quanta projects file extension | |
.webprj | |
# Executable files that eclipse and netbeans could create. | |
bin/* | |
# Netbeans project files | |
nbproject | |
# NPM | |
node_modules | |
# Things in the core directory that Drupal 8 commits in the repository. | |
!core/**/*.gz | |
# Local dev | |
.lando.yml | |
.ddev | |
# VS Code project folder | |
.vscode/* | |
!.vscode/settings.json | |
!.vscode/tasks.json | |
!.vscode/launch.json | |
!.vscode/extensions.json | |
*.code-workspace | |
# Local History for Visual Studio Code | |
.history/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment