How to get list of commit id of particular branch?

How to get a list of commit id of a particular branch?
I tried so many things but won’t get any solutions, please help

on the commandline something like:
git cherry -v master YOURBRANCHNAME

seems to work

hey @bartj git cherry -v master 20191007 will give all commit of all branches and my current version branch is dependent on last version branch so I want all commits of the current branch only

Ok, but then you can alter the command: