git 报错 fatal: refusing to merge unrelated histories
这是因为两个分支没有取得关系。
在操作命令后面加上--allow-unrelated-histories
比如:
git pull origin master --allow-unrelated-histories
fatal: refusing to merge unrelated histories
致命: 拒绝合并不相关的历史。
这是因为两个分支没有取得关系。
在操作命令后面加上--allow-unrelated-histories
比如:
git pull origin master --allow-unrelated-histories
fatal: refusing to merge unrelated histories
致命: 拒绝合并不相关的历史。
