I will try to explain my problem as best I can:
- We have our master branch with the following commits: C1, C2, C3
- I created my own feature branch from master and pushed one commit, so I will have: C1, C2, C3, C4
- Meanwhile, the master branch has progressed with another commit, so we have: C1, C2, C3, C5
- I rebase my feature branch from the master one and I obtain: C1, C2, C3, C4, C5
The problem is when I create a merge request from my feature branch to the master one, my merge request will have two commits to be merged: C4, C5 (here C5 have a different hash from that of the master C5 commit).
My question is is there any way to merge only my commit C4 since C5 is already in the master branch?