refusing to merge unrelated histories
git pull origin main --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
refusing to merge unrelated histories git
I think its get sorted after using below command
>git pull --allow-unrelated-histories
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
fatal: refusing to merge unrelated histories
git pull origin <branch> --allow-unrelated-histories
fatal: refusing to merge unrelated histories
copied!git pull --allow-unrelated-histories
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us