git pull 报错fatal: refusing to merge unrelated histories

参考  博文fatal: refusing to merge unrelated histories 

添加git pull origin master --allow-unrelated-histories 命令

On branch master

All conflicts fixed but you are still merging.

  (use "git commit" to conclude merge)

 

按照提示 再次commit即可

你可能感兴趣的:(git)