最近我设置了Laravel Forge,但我在部署方面一直遇到问题。它在部署过程中总是抛出错误 - 我将它们粘贴在下面。
我该如何解决这个问题?
U app/storage/logs/laravel.log
U vendor/autoload.php
U vendor/composer/autoload_classmap.php
U vendor/composer/autoload_real.php
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>'
as appropriate to mark resolution, or use 'git commit -a'.
"
拉取是不可能的,因为你有未合并的文件。
- 选项 1 - 您可能正在手动更改服务器上的文件,这不应该。
- 选项 2 - 您将供应商文件存储在 git 上,这不应该,并且存在冲突(您不应该将供应商文件夹保存在 git 上)