Q:

git refusing to merge unrelated histories

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

New to Communities?

Join the community