git提交报错:Error merging: refusing to merge unrelated histories

 

执行:

git pull origin master --allow-unrelated-histories

 

然后再重新push即可

posted @ 2021-05-06 17:27  yvioo  阅读(308)  评论(0编辑  收藏  举报