diff --git a/example.gitignore b/example.gitignore index d1e35ac003194adfbce3ae11e6afe71dea48a070..7cc32279748468fbb29ced225faccf662539a63d 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