error: Your local changes to the following files would be overwritten by checkout:

在发布这个配置文件的时候,会发生代码冲突:

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.

解决方法:

git reset --hard

 

posted @ 2016-11-22 23:43  INnoVation-V2  阅读(2536)  评论(0编辑  收藏  举报