fatal: refusing to merge unrelated histories
先pull,因?yàn)閮蓚€(gè)倉(cāng)庫(kù)不同,發(fā)現(xiàn)refusing to merge unrelated histories,無(wú)法pull
因?yàn)樗麄兪莾蓚€(gè)不同的項(xiàng)目,要把兩個(gè)不同的項(xiàng)目合并,git需要添加一句代碼,在git pull,
這句代碼是在git 2.9.2版本發(fā)生的,最新的版本需要添加--allow-unrelated-histories
git pull origin master --allow-unrelated-histories