【发布时间】:2019-07-31 14:12:18
【问题描述】:
我正在尝试在我的实时服务器上部署我的 Laravel 项目,但 composer.json 文件有问题
no@zz8807:/var/www/html$ sudo git pull origin master
Username for 'https://github.com': whiteG9291
Password for 'https://whiteG9291@github.com':
From https://github.com/aekraes/zuxweb
* branch master -> FETCH_HEAD
Updating b19275b..4127e3a
error: Your local changes to the following files would be overwritten
by merge:
composer.json
Please commit your changes or stash them before you merge.
Aborting
这是我得到的错误。
注意:我之前已经部署过它并且运行成功,但是我对 composer.json 权限做了一些更改
【问题讨论】:
-
具体的问题是什么?为什么不恢复更改,或者将它们置于版本控制之下?
标签: linux ssh permissions composer-php