Git版本管理工具

Git pull代码时出现冲突

2019-11-20  本文已影响0人  西瓜鱼仔

出现错误

error: Your local changes to the following files would be overwritten by merge:
protected/config/main.php
Please, commit your changes or stash them before you can merge.

出现原因和解决办法

pull 的前提是要保证本地 clean 才行,因此可以先commit 或者stash,然后再执行 pull

上一篇 下一篇

猜你喜欢

热点阅读