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 counting the commits that are not yet merged from other branches. If iterate this command over every branch then obviously the common commits get counted multiple times. Could you give me a script/command that would yield me the overall picture?