码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2016-11-23 06:55:33      阅读:937      评论:0      收藏:0      [点我收藏+]

标签:files   har   代码   config   merge   comm   can   prot   ted   

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

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

 

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

标签:files   har   代码   config   merge   comm   can   prot   ted   

原文地址:http://www.cnblogs.com/INnoVationv2/p/6091713.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!