美文网首页
git配置过程中fatal:拒绝合并无关的历史

git配置过程中fatal:拒绝合并无关的历史

作者: Then丶 | 来源:发表于2020-05-27 13:07 被阅读0次

首先将远程仓库和本地仓库关联起来:

git branch --set-upstream-to=origin/master master

然后使用git pull整合远程仓库和本地仓库,

git pull --allow-unrelated-histories    (忽略版本不同造成的影响)

完成,问题解决

原文: https://blog.csdn.net/yamanda/article/details/79375698

相关文章

网友评论

      本文标题:git配置过程中fatal:拒绝合并无关的历史

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