After doing:
git cherry-pick -n <commit1>
git cherry-pick -n <commit2>
git cherry-pick -n <commit3>
git cherry-pick -n <commit4>
I want to print the list of cherry-picked commits. These commits have not been pushed yet on the current branch as I am using -n
option. How to do that?
Please note that I know, SHA1 gets changed after cherry-picking, so the commits should be identified by commit-message IMO.