Git: How to list cherry-picked commits?

How do I list the commits that were cherry-picked in Git? Let's assume the following scenario: cp = cherry commit

                         cp1         cp2          
master -----o------o------o-----o----o
            \            /          /
     branch1 \----o------o-----o---o---o

      

Is there a log command to list cherry-grab cp1 and cp2?

Thank.

+3


source to share


2 answers


git cherry -v branch1 master

      



See git-cherry for documentation.

+3


source


git reflog

      



will display cherry pick events.

+1


source







All Articles