Diese Seite ist in Ihrer lokalen Sprache noch nicht verfügbar. Wir arbeiten daran, weitere Sprachversionen hinzuzufügen. Vielen Dank für Ihre Unterstützung.

On this page
Help Center/ CodeArts Repo/ FAQs/ Troubleshooting/ Message "fatal: refusing to merge unrelated histories" Is Displayed

Message "fatal: refusing to merge unrelated histories" Is Displayed

Updated on 2023-12-04 GMT+08:00

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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback