When using git shortlog -sn
, without the email option, it will count all commits by author name. But when add -e
option, it distinguishes first by name and then by email, creating two or more entries in the log if the same author published commits using different emails.