I have the following scenario that is blocking me to merge my branch back to master:
- feature branch created from master
- done with the feature branch and it's time to merge it back to master
- the merge back to master has conflicts
- fixed all conflicts and pushed to gerrit
- in the meantime master is still moving and new code on master conflicted with my merge commit
The question is how can I update my merge commit with latest master, fix conflicts and amend to my commit on gerrit?
Tried the following and failed:
- merge master back into that commit locally but that would create two merge commits which is bad
- can't rebase since you can't rebase merges