Message "fatal: refusing to merge unrelated histories" Is Displayed
Symptom
The message refusing to merge unrelated histories is displayed after git pull is executed.
Analysis
The objects of the merge attempt are two unrelated repositories or branches.
Solution
Run git pull origin master --allow-unrelated-histories for force merge.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.