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
Another variation of the accepted answers, to use with master
master
git log origin/master --not $(git branch -a | grep -Fv master)
Filter all commits that happen in any branch other than master.