Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why doesn't the vendor folder show in Bitbucket?

I have a Laravel project. I'm using Git to upload projects into Bitbucket but the vendor folder is not shown. Why not?

All files have been uploaded except the vendor folder.

like image 217
Aymen bz Avatar asked Dec 13 '25 05:12

Aymen bz


2 Answers

if you want to show your vendor folder remove it from .gitignore but it is not recommended.

then run git add . and commit your change push it to bitbucket.

like image 106
Romantic Dev Avatar answered Dec 15 '25 05:12

Romantic Dev


Because .gitignore file in the root directory of Laravel project has this line:

/vendor

Git doesn't add this directory to the repository. You shouldn't commit this folder. Each member of your team should run composer install command after checkout to download all dependencies to the vendor directory on their machine.

like image 31
Alexey Mezenin Avatar answered Dec 15 '25 06:12

Alexey Mezenin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!