I have dev and main branches. Some commits go to the dev branch and then some of the dev branch commits go into the main branch. Which means, there are several commits in dev branch which are not submitted/cherry-picked in main branch at any given time.
I wonder if there is a way to log all dev commits which are new or which are not cherry-picked into main.
I tried with,
$git log main..dev
$git log dev..main
but they don't serve my purpose.