解决办法: git pull origin master --allow-unrelated-histories 选择分支 变基 就ok了 相关文章: 2021-07-28 2021-10-03 2021-06-07 2021-11-04 2022-12-23 2022-01-17