git pull: refusing to merge unrelated histories

92 阅读1分钟

image.png

参考文章 stackoverflow.com/questions/3…

Using the --allow-unrelated-histories flag worked with a pull request in this way:

git pull origin branchname --allow-unrelated-histories