For example:
feature C---D---E---G---H---L---M
/ \ \ ^--- tip of feature
master A---B-----------F---I---J---K
^--- tip of master
The commits I want to cherry-pick are: C D E G H L M
The key requirement: I don't want to specify any commit IDs manually --- I want a reliable way to specify them in terms of "commits I made to feature since it diverged from master". I don't want what's been put into master since feature diverged from it so I don't want F I J K.
The reason: I'd like to be able to cherry-pick those commits into a third branch, but I cannot just run git merge feature as it would also include additional ancestors such as A and B. (I do not want to get into the reasons why there's stuff in master I don't want in the third branch.)
Does this make sense?