当前位置:网站首页>fatal: refusing to merge unrelated histories

fatal: refusing to merge unrelated histories

2022-06-11 06:23:00 Saucey_6

git pull的时候报错(fatal: refusing to merge unrelated histories)


原因:远程文件和本地文件不能自动合并

解决:git pull origin master --allow-unrelated-histories

注:master为分支名,你可以根据要pull的分支任意替换

原网站

版权声明
本文为[Saucey_6]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_39083004/article/details/87781883