SHELL
refusing to merge unrelated histories
git pull origin master --allow-unrelated-histories
fatal: refusing to merge unrelated histories
fatal: refusing to merge unrelated histories
solution:
git pull --allow-unrelated-histories
refusing to merge unrelated histories
git pull origin main --allow-unrelated-histories
allow unrelated histories
git pull --allow-unrelated-histories origin master
git push -u origin master
git unrelated histories
git pull origin branchname --allow-unrelated-histories
refusing to merge unrelated histories git
I think its get sorted after using below command
>git pull --allow-unrelated-histories
git display unrelated histories
git pull origin branchname --allow-unrelated-histories
fatal: refusing to merge unrelated histories
git pull origin master --allow-unrelated-histories
git pull <remote> <branch> --allow-unrelated-histories
fatal: refusing to merge unrelated histories
git pull origin master --allow-unrelated-histories
fatal: refusing to merge unrelated histories
git pull origin <branch> --allow-unrelated-histories
refusing to merge unrelated histories
git pull origin master --allow-unrelated-histories
#IF THAT DOESN'T WORK, REPLACE 'origin master' WITH THE REPO YOU WANT TO PULL FROM
fatal: refusing to merge unrelated histories
git pull origin master --allow-unrelated-histories
then when asked for merging vim editor opens click insert (i) type msg and :wq to save and exit
refusing to merge unrelated git
--allow-unrelated-histories
fatal: refusing to merge unrelated histories
fatal: refusing to merge unrelated histories
se resuelve haciendo:
git pull origin master --allow-unrelated-histories
fatal: refusing to merge unrelated histories
copied!git pull --allow-unrelated-histories