1
0
Fork 0

Merge pull request #3246 from richardkmiller/patch-1

Very tiny but necessary edit
pull/3365/head
Jordi Boggiano 2014-10-17 16:09:33 +01:00
commit 2bb78708b8
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ If you really feel like you must do this, you have a few options:
[config](../04-schema.md#config). [config](../04-schema.md#config).
3. Remove the `.git` directory of every dependency after the installation, then 3. Remove the `.git` directory of every dependency after the installation, then
you can add them to your git repo. You can do that with `rm -rf vendor/**/.git` you can add them to your git repo. You can do that with `rm -rf vendor/**/.git`
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 but this means you will have to delete those dependencies from disk before
running composer update. 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.