mirror of
https://github.com/github/gitignore
synced 2024-11-22 03:34:23 +01:00
5bb4e85357
When generating the ignore rules for Composer, an incorrect format is used. The vendor directory added is written `vendor/`, which causes other `vendors` directories to be ignored. The correct format to use is `/vendor/`, which would only ignore the root `vendor` directory.
7 lines
251 B
Plaintext
7 lines
251 B
Plaintext
composer.phar
|
|
/vendor/
|
|
|
|
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
|
|
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
|
# composer.lock
|