Answers for "git merge master fatal: refusing to merge unrelated histories"

22

refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories
Posted by: Guest on May-15-2020
8

fatal: refusing to merge unrelated histories

fatal: refusing to merge unrelated histories
solution:
git pull --allow-unrelated-histories
Posted by: Guest on April-23-2020
3

refusing to merge unrelated histories

git pull origin main --allow-unrelated-histories
Posted by: Guest on November-11-2020
3

git unrelated histories

git pull origin branchname --allow-unrelated-histories
Posted by: Guest on July-07-2020
3

refusing to merge unrelated histories git

I think its get sorted after using below command
>git pull --allow-unrelated-histories
Posted by: Guest on May-31-2020
1

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
Posted by: Guest on August-10-2020

Code answers related to "git merge master fatal: refusing to merge unrelated histories"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language