git pull 失败 ,提示:fatal: refusing to merge unrelated histories

问题

git pull 失败 ,提示:

fatal: refusing to merge unrelated histories

解决

加上参数: --allow-unrelated-histories

如:

git pull origin master --allow-unrelated-histories

Written By

truthhun

发表回复