Git refusing to merge unrelated histories on rebase

0 votes

While using the git rebase origin/development I constantly keep getting an error message which is shown from Git:

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

I have been using the version 2.9.0 for my GIT and it used to work fine in the previous version, so how could I continue this rebase by permitting an unrelated set of histories with the forced flag which has been introduced in the new release?

Feb 9 in Others by Soham
• 8,730 points
64 views

1 answer to this question.

0 votes

To answer your question, the “git merge” did allow the combining of two branches which do not have a common base which is by default and this has caused a relatively new history of the brand for an existing project which is created. This then would get taken by a maintainer which gives access to a parallel history which merges into an existing project. The --allow-unrelated-histories option line is to be used in very unpredictable events which would take two projects which started life independently and then merge them. If what you are looking for is to force a merge between the two projects to occur, then use the line below:-

--allow-unrelated-histories

answered Feb 9 by Rahul
• 8,980 points

Related Questions In Others

0 votes
1 answer

fatal: refusing to merge unrelated histories

In order to clarify your doubt, this ...READ MORE

answered Feb 8 in Others by Soham
• 8,730 points
58 views
0 votes
1 answer

How to do Installation of Ruby on Rails on Linux (Ubuntu)?

Hi Pratibha, installing ROR on ubuntu is ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,170 points
802 views
0 votes
1 answer

Golang on Linux... How to install it?

Hey @Abhi, if you want to install ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,170 points
312 views
0 votes
1 answer

How to run C# code on Ubuntu

Hey @Abha, you can create and run ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,170 points
5,185 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,583 views
+2 votes
1 answer
0 votes
1 answer

It shows black screen when trying to load Map on device with ionic 2 Google Map Native plugin

In order to answer your question, start ...READ MORE

answered Feb 8 in Others by Rahul
• 8,980 points
85 views
0 votes
1 answer

PhpMyAdmin not working on localhost

In order to answer your question, you ...READ MORE

answered Feb 8 in Others by Rahul
• 8,980 points
9 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP