其他分享
首页 > 其他分享> > fatal: refusing to merge unrelated histories

fatal: refusing to merge unrelated histories

作者:互联网

fatal: refusing to merge unrelated histories

在 pull 的时候出现了这个错误,说的是远程分支和当前分支没有建立联系,

在命令后面加 --allow-unrelated-histories 就行

比如说

git pull origin master --allow-unrelated-histories

标签:pull,--,histories,refusing,merge,unrelated,fatal
来源: https://www.cnblogs.com/consolexinhun/p/15358039.html