I've got problem with GIT. I've got following situation:
-> M1 -> M2 -> ............. Ma -> Mb -> Mc [master]
\ \
\ \ (merge 'master' to 'merge_branch' without commit 'Mc')
\ (create branch 'develop') \
\ /-> A -> A1 [merge_branch]
\ /
\ / (create branch 'merge_branch' from 'develop' at 'Da')
\ /
\ -> D1 -> ...........-> Da -> Db [develop]
And I want to rebase branch 'merge_branch' (to start it from commit 'Db' instead of 'Da')
-> M1 -> M2 -> ................... Ma -> Mb -> Mc [master]
\ \
\ \ (merge 'master' to 'merge_branch' without commit 'Mc')
\ (create branch 'develop') \
\ /-> A -> A1 [merge_branch]
\ /
\ / (create branch 'merge_branch' from 'develop' at 'Da')
\ /
\ -> D1 -> ...........-> Da -> Db [develop]
On master branch there are a lot of commits (thousands). When I am on 'merge_branch' and start rebase 'git rebase develop', I am receiving plenty of conflicts.
I usually created a new branch, did a merge again, but I had to resolve the same merge conflicts as were resolved previously. It was much faster than rebasing branch, but also very slow...
Do you have any ideas how to solve this problem?