git pull fatal: refusing to merge unrelated histories
git pull fatal: refusing to merge unrelated histories拉取远程代码时出现:原因是因为两个分支的版本不一致,提交历史不同
拉取远程代码时出现:
原因是因为两个分支的版本不一致,提交历史不同
使用这个命令
git pull origin master --allow-unrelated-histories
允许不相关历史强制合并
...
原创
2020-09-16 11:00:55 ·
82 阅读 ·
0 评论