创建了一个origin,两个人分别clone
分别做完全不同的提交
第一个人git push成功
第二个人在执行git pull的时候,提示
fatal: refusing to merge unrelated histories
解决方法:
git pull --allow-unrelated-histories
相关文章
- 12-16git push时报错refusing to merge unrelated histories
- 12-16Git报错-refusing to merge unrelated histories
- 12-16idea提交代码时报错Git Pull Failed: refusing to merge unrelated histories
- 12-16git报错:refusing to merge unrelated histories 的解决方法
- 12-16git无法pull仓库refusing to merge unrelated histories (拒绝合并不相关仓库)
- 12-16git fatal: refusing to merge unrelated histories
- 12-16Git 报错:fatal: refusing to merge unrelated histories
- 12-16Git fatal: refusing to merge unrelated histories
- 12-16git merge fatal: refusing to merge unrelated histories解决办法
- 12-16成功解决Git:fatal: refusing to merge unrelated histories