| ▲ | sameenkarim 6 hours ago | |
Yes, we handle this both in the CLI and server using git rebase --onto
So for ex in this scenario:
When PR 1 and 2 are squash merged, main now looks like:
Then we run the following:
Which rewrites branch3 to:
This operation moves the unique commits from the unmerged branch and replays them on top of the newly squashed commits on the base branch, avoiding any merge conflicts. | ||