a basic question probably. I have cherry-picked some commits across branches. Now I would like to get a list of the commits from branch A that got cherry-picked to branch B. Is there a way to do it?
Try this:
git log --oneline --cherry A...B
This lists all commits that are in B but not in A and marks commits that have an equivalent commit in A with =
来源:https://stackoverflow.com/questions/11719926/which-commits-got-cherry-picked