One of my favorite git tips is the ability to transplant a branch:
git rebase --onto release/2.0 release/1.3 feature
It transplant the `feature` branch from `release/1.3` onto `release/2.0`
One of my favorite git tips is the ability to transplant a branch:
git rebase --onto release/2.0 release/1.3 feature
It transplant the `feature` branch from `release/1.3` onto `release/2.0`
@lucabernardi great tip - I’ve been bitten too many times by `git rebase` not working out the correct base that I always use the `—onto` flag. Generally though I’m on the branch I want to rebase so omit its name:
git rebase oldbase —onto newbase