I am trying to count the number of commits since a tag was made.
I have tried using git rev-list
but it seems to return the same results no matter what I try. This is what I have tried:
$ git rev-list 1.7Start^..HEAD | wc -l
13902
$ git rev-list HEAD | wc -l
13902
Trying to count how many commits since the 1.7Start tag was created. I'm currently on master
hence using HEAD
but using git rev-list master | wc -l
gives me the same.
There hasn't been 13000+ commits since 1.7
Should git rev-list master
show me every commit in master and hence yield a larger number than 1.7Start^..master
which should just give me the difference?