From 4a03584d2f56a706db1eee3a10a2797cde830855 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 14 Jun 2018 14:49:01 +0100
Subject: [PATCH] Issue #2737773 by antongp, wturrell, pcambra, cilefen,
 Darvanen, cwells, manningpete, alexpott: Proper way to install Drupal,
 missing vendor folders, example.gitignore

---
 example.gitignore | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/example.gitignore b/example.gitignore
index d1e35ac00319..7cc322797484 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
-- 
GitLab