I think you could try:
git log –oneline mybranch ^master
For the exact count:
git log –oneline mybranch ^master | wc -l
Should give you the information you want.
I think you could try:
git log –oneline mybranch ^master
For the exact count:
git log –oneline mybranch ^master | wc -l
Should give you the information you want.