diff --git a/example.gitignore b/example.gitignore index d1e35ac0031..7cc32279748 100644 --- a/example.gitignore +++ b/example.gitignore @@ -11,8 +11,11 @@ # including Drupal core. # core -# Core's dependencies are managed with Composer. -vendor +# Ignore dependencies that are managed with Composer. +# Generally you should only ignore the root vendor directory. It's important +# that core/assets/vendor and any other vendor directories within contrib or +# custom module, theme, etc., are not ignored unless you purposely do so. +/vendor/ # Ignore configuration files that may contain sensitive information. sites/*/settings*.php