I am using git and I get to this state:
X --- Y --------- M1 -------- M2 (my-feature) / / / / / / a --- b --- c --- d --- e --- f (stable)
This happens when we work on the "my-feature" branch for more than one day. M1 and M2 are merged from a stable branch into a characteristic branch. M1 and M2 may have joint conflicts that have been resolved. The whole idea of ββmerging a stable branch with a characteristic branch is to handle conflicts sooner rather than later.
As soon as the function is completed, we want to reset the function branch to one or two commits.
The problem is when we do an interactive rebase git, show us the same merge conflicts that we already solve when merging M1 and M2.
Is there a way to make git reuse the merge solution that we have already implemented in M1 and M2?
Ido ran
source share