I\'d like to get the number of commits per author on all branches. I see that
git shortlog -s -n
Prints a very nice list but it is not coun
git shortlog -s -n --all --no-merges
Will give you statistics for all branches.
EDIT: Added --no-merges to exclude statistics from merge commits.
--no-merges