I tried to compare 2 branches with a branches strategy : branches strategy
i have a development branch named S. Some works are done in temporary branches (A1, A2, B1, B2, C1, C2) then merged in development branch by Pool Request agreement by merge commit (S3, S4 and S5). Then some of these merge commits (S3 and S5) are cherry picked in release branch named D.
If i want to compare branch D and S like this : git log –cherry-mark –right-only D…S, only commits A1, A2, C1 and C2 are marked as cherry picked.
I would like to know if an option(s) or several commands exist to return only merge commits S3 and S5.
Thanks in advance for your help
Kaoru54 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.