Git - Solving "fatal: refusing to merge unrelated histories"

test

git pull origin <branch> --allow-unrelated-histories

or

git pull origin master --allow-unrelated-histories
git merge origin origin/master
git push origin master

You'll only receive email when Teo Oliver publishes a new post

More fromĀ Teo Oliver