I tried the solution from this question already Remove other peoples' commits on my branch after rebase gone wrong , but dint work for me.
My commit log looks like this :
Author: Me
Date: Thu May 27 11:26:56 2021 +0200
#my commit
commit somehash123abc
Author:someone else
Date: Thu May 27 07:03:13 2021 +0000
#somebody elses commit
commit somehash123abc
Author: someone else
Date: Wed May 26 15:47:17 2021 +0200
#somebody elses commit
commit somehash123abc
Author: someone else
Date: Wed May 26 13:25:09 2021 +0000
#somebody elses commit
and i see 4 commits (one is mine and rest are not) in the Merge request i created in gitlab . I will not be merging to master but some other feature branch .
How can i have only my commit in the branch and MR (its a bit confusing for the code reviewer t see the other commits)? i also tried to 'cherry-pick' just my commit into a new branch, but it shows merge conflicts for merging into the 'other feature branch'
Please help. TIA.