Git 中 出现couldn't find remote ref –allow-unrelated-histories的解决办法

当执行git中的“git pull origin master –allow-unrelated-histories”命令时,会出现“ couldn’t find remote ref –allow-unrelated-histories”的错误,输入如下命令即可解决:
git pull --rebase origin master
git push origin master

你可能感兴趣的:(Git 中 出现couldn't find remote ref –allow-unrelated-histories的解决办法)