Git :fatal: refusing to merge unrelated histories解决
今天本地创建了一个仓库(有README),把本地仓库和Github上关联以后,发现git pull,git feach提醒fatal: refusing to merge unrelated histories
原因是两个分支是两个不同的版本,具有不同的提交历史
git pull origin master --allow-unrelated-histories
Git :fatal: refusing to merge unrelated histories解决
今天本地创建了一个仓库(有README),把本地仓库和Github上关联以后,发现git pull,git feach提醒fatal: refusing to merge unrelated histories
原因是两个分支是两个不同的版本,具有不同的提交历史
git pull origin master --allow-unrelated-histories