Scenario: I have two branches: develop
and feature_xyz
. I'm integrating feature_xyz
into develop
via merge request in Gitlab but I'm facing a non fast-forward scenario so I must rebase develop
into feature_xyz
locally and then push and request again.
But I'm facing a loop rebase problem: locally after rebase develop
into feature_xyz
, when I try to push the local feature_xyz
branch to the remote I'm getting an error saying that my local branch is behind its remote counterpart. Rebase the remote into my local feature_xyz
branch and push it works pretty fine but if I try to rebase the develop
into my feature_xyz
local branch again I will face the same error if I try to push to the feature_xyz
remote branch.
How could I workaround it without have to push force or delete the remote and push the local again?
PS.: Merge is not an option.