报错 git pull 报错如下: 解决 原因:两个分支是两个不同的版本,具有不同的提交历史,可以使用 --allow-unrelated-histories 可以允许不相关历史提,强制合并 git pull origin master --allow-unrelated-histories