refusing to merge unrelated histories
新建本地项目,推到github。由于github和本地是两个不同的项目,要把两个不同的项目合并,git pull需要添加一句代码,–allow-unrelated-histories。
git pull origin master --allow-unrelated-histories
新建本地项目,推到github。由于github和本地是两个不同的项目,要把两个不同的项目合并,git pull需要添加一句代码,–allow-unrelated-histories。
git pull origin master --allow-unrelated-histories