- 原因:本地仓库和远程仓库的历史提交不同
- 解决:合并两个仓库的历史
--allow-unrelated-histories
git pull origin master --allow-unrelated-histories
版权声明:本文为weixin_45429409原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
--allow-unrelated-historiesgit pull origin master --allow-unrelated-histories