【异常】git pull报错fatal: refusing to merge unrelated histories

加一下参数,告诉git这个pull的仓库地址是正确的,允许无关的历史(因为本地分支与远程分支没有共同的提交历史)

  

    git pull --allow-unrelated-histories

  

原文地址:https://www.cnblogs.com/QuestionsZhang/p/13023120.html