How do I count all commits in a git repository?
# count for in branch alfa
git rev-list --count alfa
# count across all branches
git rev-list --count --all
Source
How do I count all commits in a git repository?
# count for in branch alfa
git rev-list --count alfa
# count across all branches
git rev-list --count --all