mirror of
https://github.com/github/gitignore
synced 2025-02-19 00:49:08 +01:00

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
|