git 提示 fatal: refusing to merge unrelated histories
$ git merge 分支名称
fatal: refusing to merge unrelated histories
2.读入数据
--allow-unrelated-histories 即可
示例:git merge master --allow-unrelated-histories
如果你也是git pull或者git push报fatal: refusing to merge unrelated histories
同理:
git pull origin master --allow-unrelated-histories
即解决了!