git“ ... you have unmerged files

2017-05-22  本文已影响0人  牛程程

在使用git的时候,没有提前git pull,就把自己本地修改的文件git add、git commit,就会出现“ ... you have unmerged files.”的error。参考链接:http://stackoverflow.com/questions/22386030/cannot-checkout-file-is-unmerged

解决办法:

1、cat +文件名

2、git add file

3、git commit -m "fix conflict"

4、 git push

5、之后,再打开本地项目的时候会出现,报错提示: cannot be opened because the project file cannot be parsed. 解决办法:.xcodeproj文件显示包的内容,删除“<<<<<<<,======,>>>>>>”部分,保存。重新打开即可。具体解决链接 http://blog.csdn.net/mengmakies/article/details/51473156

上一篇 下一篇

猜你喜欢

热点阅读