Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

pdeschamps's avatar

Git Error output

everytime I try to deploy I keep getting this git error output and I can't see why, everything in my repo is up to date and theres nothing to commit

From github.com:SequelMediaGroup/puckermob_laravel
 * branch            master     -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
    vendor/composer/autoload_classmap.php
    vendor/composer/installed.json
Please, commit your changes or stash them before you can merge.
Aborting
Updating c75a216..5f08fef

Why is it throwing this error when everything is clean and up to date?

0 likes
2 replies
bobbybouwmann's avatar

It seems that it is not ignoring your vendor directory. Does your .gitignore hold to following line?

/vendor
unohuim's avatar

I'm getting the same error.. and my .gitignore file certainly has that line. Any ideas ?

Please or to participate in this conversation.