$ git pull origin master From github.com:jamieTardi/newPortfolioSite * branch master -> FETCH_HEAD fatal: refusing to merge unrelated histories code example
Example 1: refusing to merge unrelated histories git
I think its get sorted after using below command
>git pull --allow-unrelated-histories
Example 2: git refusing to merge unrelated histories on rebase
git merge upstream/master --allow-unrelated-histories