美文网首页插件
Pull 提示 refusing to merge unrela

Pull 提示 refusing to merge unrela

作者: 周大湿 | 来源:发表于2018-03-26 01:18 被阅读3940次

在码云申请了账号,网页新建项目后,在Xcode新建 git remote 后

Pull 提示 :

refusing to merge unrelated histories 

解决方法:

git pull --allow-unrelated-histories  

意思:

allow merging unrelated histories

原因:

在网页新建项目后,本地项目和托管项目是完全两个不通的项目

相关文章

网友评论

    本文标题:Pull 提示 refusing to merge unrela

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