Instagram Widget

How to solve refusing to merge unrelated histories

When we try to connect our local repo to existing remote repository we get this error

"refusing to merge unrelated histories"

To solve this issue run below command

git pull --allow-unrelated-histories

Now this issue will get fixed and you can continue working on git.

Post a Comment