1

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?

learnAndImprove
  • 1,339
  • 4
  • 15
  • 25
  • Duplicate of [Different commits between two branches](http://stackoverflow.com/questions/7566416/different-commits-between-two-branches) –  Apr 24 '14 at 17:53
  • This is a duplicate of http://stackoverflow.com/questions/2922652/git-is-there-a-way-to-figure-out-where-a-commit-was-cherry-picked-from – Loic Dachary Feb 14 '15 at 22:44

1 Answers1

0

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 =

Uwe Kleine-König
  • 3,426
  • 1
  • 24
  • 20