I have a vendor directory in a file .gitignore. Every time I run composer update, git cannot keep track of updates and directory changes vendor, and therefore I cannot undo those changes!
.gitignore
composer update
vendor
My question is: Is it possible that the application crashes or errors occur after composer update, so there is a need for it git reset?
git reset
If possible, is it better to delete the vendor directory from .gitignore? maybe there are other solutions to this problem? (if at all a problem !!)
Composer composer.lock.
composer.lock
, composer update .., , composer.lock. .
composer install, composer.lock. , composer install.
composer install
: composer dump-autoload vendor.
composer dump-autoload
vendor .gitignore. , composer , composer.json . - , composer.json composer update.
composer
composer.json
, vendor .gitignore, GitHub/BitBucket ..
Source: https://habr.com/ru/post/1652762/More articles:Copy text and binary files with one function? - cCSS Background Triangle 3 colors - htmlСоздание API с Firebase 3 - restArray.prototype.forEach () - do I need three arguments? - javascriptGoogle Maps Activity Authorization Error - androidBuild with buck on travis servers - c ++pytest-bdd reuse the same method for different stages - pythonionic 2 / cordova reads images from iOS document catalog - iosRunning an espresso test several times - androidangular, then catch the success error from services - angularjsAll Articles