git出现fatal: refusing to merge unrelated histories

tech2022-12-04  72

解决方法:

在操作后加上 --allow-unrelated-histories

例如:

// 合并 git merge sprint git merge sprint --allow-unrelated-histories // 拉取 git pull sprint git pull sprint --allow-unrelated-histories
最新回复(0)