Git refusing to merge unrelated histories on rebase
Asked 07 September, 2021
Viewed 3K times
  • 54
Votes

During git rebase origin/development the following error message is shown from Git:

fatal: refusing to merge unrelated histories
Error redoing merge 1234deadbeef1234deadbeef

My Git version is 2.9.0. It used to work fine in the previous version.

How can I continue this rebase allowing unrelated histories with the forced flag introduced in the new release?

25 Answer