美文网首页
git pull冲突(<<<<<<< Updated upstr

git pull冲突(<<<<<<< Updated upstr

作者: 三月木头 | 来源:发表于2021-01-14 17:09 被阅读0次

1.两块代码区分
拉取的新代码:<<<<<<< Updated upstream到=======之间
自己本地代码:=======到>>>>>>> Stashed changes是你自己本次修改的代码

2.xcode 出现The file couldn’t be opened.
右击项目 xx.xcodeproj 选择显示包内容,打开第一个文件 project.pbsproj
command+f 输入=== 查找有冲突的地方
然后判断一下删除其中一个。

相关文章

网友评论

      本文标题:git pull冲突(<<<<<<< Updated upstr

      本文链接:https://www.haomeiwen.com/subject/zyivaktx.html