fatal: refusing to merge unrelated histories

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了fatal: refusing to merge unrelated histories相关的知识,希望对你有一定的参考价值。

pull/push无法进行:

我在gitee新建一个仓库,上面有readme/License,然后把本地一个仓库上传。
先pull,发现 refusing to merge unrelated histories,无法pull;push也无法进行。

git pull origin master --allow-unrelated-histories

以上是关于fatal: refusing to merge unrelated histories的主要内容,如果未能解决你的问题,请参考以下文章

Git:fatal: refusing to merge unrelated histories

Git fatal: refusing to merge unrelated histories

fatal: refusing to merge unrelated histories

GIt -- fatal: refusing to merge unrelated histories 问题处理

fatal: refusing to merge unrelated histories的解决方案

git 报错:fatal: refusing to merge unrelated histories?