1
0
Fork 0

Ignore all .git dirs in the vendor dir recursively

In accordance with http://git-scm.com/docs/gitignore
pull/3936/head
Anton Evers 2015-04-14 09:46:53 +02:00
parent 4d134ce8a2
commit cc3a8379e2
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,6 @@ If you really feel like you must do this, you have a few options:
in ZSH or `find vendor/ -type d -name ".git" -exec rm -rf {} \;` in Bash.
but this means you will have to delete those dependencies from disk before
running composer update.
4. Add a .gitignore rule (`vendor/.git`) to ignore all the vendor `.git` folders.
4. Add a .gitignore rule (`/vendor/**/.git`) to ignore all the vendor `.git` folders.
This approach does not require that you delete dependencies from disk prior to
running a composer update.