Commit 개수 얻기

To get a commit count for a revision (HEADmaster, a commit hash):

$ git rev-list --count <revision>

예)

$ git rev-list --count branch-1
$ git rev-list --count 3930540717b