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?
Asked
Active
Viewed 35 times
0

LateCoder
- 2,163
- 4
- 25
- 44
1 Answers
0
You could compare branch counts.
git rev-list --count BRANCHNAME

Spencer Rohan
- 1,759
- 3
- 12
- 23
-
http://stackoverflow.com/questions/10913892/number-of-commits-on-branch-in-git – Spencer Rohan Jan 14 '16 at 21:12