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
@Prakash answer works. Just for clarity ...
git checkout feature-branch git log master..HEAD
lists the commits on feature-branch but not the upstream branch (typically your master).