文档首页> 代码托管 CodeArts Repo> 常见问题> 常见报错解决方法> fatal: refusing to merge unrelated histories
更新时间:2022-07-08 GMT+08:00
分享

fatal: refusing to merge unrelated histories

问题现象

使用git pull命令时,提示“refusing to merge unrelated histories”

原因分析

云端与本地的仓库不同,例如:不同的分支、或不同的仓库等。

处理方法

使用命令 git pull origin master --allow-unrelated-histories进行强制合并。

分享:

常见报错解决方法 所有常见问题

more