To see a list of which commits are on one branch but not another, use the following command:
$ git log --no-merges oldbranch ^newbranch
Developer
To see a list of which commits are on one branch but not another, use the following command:
$ git log --no-merges oldbranch ^newbranch