Given a branch, I\'d like to see a list of commits that exist only on that branch. In this question we discuss ways to see which commits are on one branch
We just found this elegant solution
git log --first-parent --no-merges
In your example of course the initial commit still shows up.
this answer does not exactly answer the question, because the initial commit still shows up. On the other hand many people coming here seem to find the answer they are looking for.