本地仓库同步到远程仓库时报错:
Git Pull Failed: refusing to merge unrelated histories和Push rejected: Push to origin/master
原因是:本地仓库仓库和远程仓库是独立的两个仓库
解决方案:1、git pull origin master --allow-unrelated-histories
2、git push origin master:master
git报Git Pull Failed: refusing to merge unrelated histories和Push rejected: Push to origin/master
最新推荐文章于 2023-06-19 15:59:05 发布