In case you have accidentally committed your vendor folder, you can easily remove it by following these steps:
git rm -r --cached vendor git rm -r --cached composer.lock git commit -m "untrack vendor directory" git push
There is one post tagged git.
In case you have accidentally committed your vendor folder, you can easily remove it by following these steps:
git rm -r --cached vendor git rm -r --cached composer.lock git commit -m "untrack vendor directory" git push