今天遇到个这个错误
fatal: refusing to merge unrelated histories
$ git pull
fatal: refusing to merge unrelated histories
解决方案:
$git pull origin master --allow-unrelated-histories
–allow-unrelated-histories:允许不关联histories,强制合并
今天遇到个这个错误
fatal: refusing to merge unrelated histories
$ git pull
fatal: refusing to merge unrelated histories
解决方案:
$git pull origin master --allow-unrelated-histories
–allow-unrelated-histories:允许不关联histories,强制合并