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 33 times
0
LateCoder
- 1,923
- 2
- 23
- 40
1 Answers
0
You could compare branch counts.
git rev-list --count BRANCHNAME
Spencer Rohan
- 1,479
- 2
- 11
- 23
-
http://stackoverflow.com/questions/10913892/number-of-commits-on-branch-in-git – Spencer Rohan Jan 14 '16 at 21:12