Update should-i-commit-the-dependencies-in-my-vendor-directory.md

Tweak option #3 for including dependencies in a GIT repo.
main
Jonathan Reinink 11 years ago
parent 5a0e97ccb6
commit 5b3d8dc874

@ -24,6 +24,6 @@ If you really feel like you must do this, you have three options:
you can add them to your git repo. You can do that with `rm -rf vendor/**/.git`
but this means you will have to delete those dependencies from disk before
running composer update.
3. Add a .gitignore rule (`vendor/.git`) to ignore all the vendor .git folders.
This approach does not require to you delete dependencies from disk prior to
running composer update.
3. 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.

Loading…
Cancel
Save