I have recently migrated my SVN repo to GIT. The SVN repository had 2 branches with same commit history. Now in GIT , I would like to have these 2 branches with parallel graph have a common root. How can I do it? Rebasing one branch over other doesn't works.
$ git checkout BRANCH_1
$ git rebase BRANCH_2
This gave me an error of unrelated histories.
$ git rebase BRANCH_2 --allow-unrelated-histories
did not joined the two branches at the commit they were supposed too.