I have two PC: A laptop
and a desktop computer
.
I was working two weeks on my Symfony 3 project with the desktop computer, and I defined some new parameters on my parameters.yml.dist
Today, I need to use my laptop, so I did a pull from my origin branch, and then I executed the following command to update my project:
php composer.phar update
This command updated successfully my project (parameters and vendor directory). With this, I can now run my project.
The problem is that now when I run:
git status
Lots of modified files appear in the vendor
directory. Also composer.lock
file apperars, and I think that this is correct, but not the vendor files.
My .gitignore
contains, among others, the following line:
vendor/*
What I did wrong? And how can I solve it?