在使用git的時候或颊,沒有提前git pull摧冀,就把自己本地修改的文件git add桐愉、git commit,就會出現(xiàn)“ ... 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而晒、之后硼砰,再打開本地項目的時候會出現(xiàn),報錯提示: cannot be opened because the project file cannot be parsed. 解決辦法:.xcodeproj文件顯示包的內(nèi)容欣硼,刪除“<<<<<<<,======,>>>>>>”部分题翰,保存。重新打開即可诈胜。具體解決鏈接 http://blog.csdn.net/mengmakies/article/details/51473156豹障。