git pull origin master --allow-unrelated-histories
git pull --allow-unrelated-histories
fatal: refusing to merge unrelated histories solution: git pull --allow-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
I think its get sorted after using below command >git pull --allow-unrelated-histories
git pull origin branchname --allow-unrelated-histories
git pull origin master --allow-unrelated-histories git pull <remote> <branch> --allow-unrelated-histories