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
• 9,670 points
253 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
• 9,680 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
• 9,670 points
448 views
0 votes
0 answers

Merge rows based on value (pandas to excel - xlsxwriter)

I'm attempting to use xlsxwriter to output ...READ MORE

Nov 2 in Others by Kithuzzz
• 20,660 points
96 views
0 votes
1 answer

How to merge columns in Excel but keep data on other columns

VLOOKUP indeed can be used here, combined ...READ MORE

answered Nov 19 in Others by narikkadan
• 37,660 points
23 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
976 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
2,071 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
• 9,680 points
596 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
• 9,680 points
1,137 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP