解决方案
在你操作命令后面加--allow-unrelated-histories
例如:
git merge master --allow-unrelated-histories
git pull或者git push报fatal: refusing to merge unrelated histories
同理:
git pull origin master --allow-unrelated-histories
在你操作命令后面加--allow-unrelated-histories
例如:
git merge master --allow-unrelated-histories
git pull或者git push报fatal: refusing to merge unrelated histories
同理:
git pull origin master --allow-unrelated-histories
1262
64
1539

被折叠的 条评论
为什么被折叠?