I have a git repo that has multiple unmerged branches, and need to get a handle on what is where. SOME of them have had commits cherry-picked across, so if I do a list of commits using the top line of the log message, two of them would show the same text in different branches.
I have used git show-branch to show me all the commits and which branches they are in, and I can see some of them sharing the same text ... but I have to first pick a commit msg, then search (or grep) for that text to see if it appears in another branch.
Is there a way to automate this cross referencing of common commits across branches? So that I can get a list of all branches that the commit "this fixes the config problem" is in? Even better would be a list of cherry-picked commits and where their origin commit is, but I am not holding out hope for that. Just a list that shows that commit X appears in branches A, B, and C would be a tremendous help.