- 原因:本地仓库和远程仓库的历史提交不同
- 解决:合并两个仓库的历史
--allow-unrelated-histories
git pull origin master --allow-unrelated-histories
最后
以上就是大方店员最近收集整理的关于git报错:refusing to merge unrelated histories的全部内容,更多相关git报错:refusing内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复