1.首先需要先git pull origin master
2.然后合并两个无关的仓库 git pull origin master --allow-unrelated-histories
1.首先需要先git pull origin master
2.然后合并两个无关的仓库 git pull origin master --allow-unrelated-histories
转载于:https://www.cnblogs.com/hechangshou/p/8003776.html