我将 Laravel 与 Forge 和 Digital Ocean 一起使用。
当我进行更改并部署一切正常时,直到我使用 Composer 添加一个新包,我收到以下错误并且在此之后它不会部署?
Wed Jun 15 12:03:12 BST 2016
Warning: Permanently added the RSA host key for IP address '192.30.252.120' to the list of known hosts.
From github.com:********/****
* branch master -> FETCH_HEAD
08f475b..5802179 master -> origin/master
error: Your local changes to the following files would be overwritten by merge:
vendor/composer/autoload_classmap.php
vendor/composer/autoload_namespaces.php
vendor/composer/installed.json
Please, commit your changes or stash them before you can merge.
Aborting
Updating e20816a..5802179
我可以修复的唯一方法是删除服务器并重新启动。我正在使用 sourcetree 将更改推送到 Git。