I am trying to count the number of commits since the tag was created.
I tried using git rev-list , but it seems to return the same results no matter what I try. This is what I tried:
$ git rev-list 1.7Start^..HEAD | wc -l 13902 $ git rev-list HEAD | wc -l 13902
An attempt to calculate how many commits have been made since the 1.7Start tag was created. I'm on master now, so using HEAD , but using git rev-list master | wc -l git rev-list master | wc -l , gives me the same thing.
13,000+ have not been recorded since 1.7
Should git rev-list master show me every commit in master and therefore give a larger number than 1.7Start^..master , which should just give me the difference?
Nathan w
source share