git 出现 fatal: refusing to merge unrelated histories 错误

执行如下命令:

git pull origin master --allow-unrelated-histories

参考:https://www.centos.bz/2018/03/git-%E5%87%BA%E7%8E%B0-fatal-refusing-to-merge-unrelated-histories-%E9%94%99%E8%AF%AF/

你可能感兴趣的:(git 出现 fatal: refusing to merge unrelated histories 错误)