0

I have a branch my_branch that was branched off of master. I would like to see how many commits have been created on my_branch since the split from master. I know I can do git log master..benzinga to see all the commits - but I want to get a count rather than a list of commits. How can I do this?

LateCoder
  • 2,163
  • 4
  • 25
  • 44

1 Answers1

0

You could compare branch counts.

git rev-list --count BRANCHNAME
Spencer Rohan
  • 1,759
  • 3
  • 12
  • 23