Skip to content

Aggregating authors

Authors sometimes commit with different names or email addresses. To count them as one author, add a .mailmap file to the root of your repository. For example, to count commits from Jane's private address as commits from her work address:

# .mailmap
Jane Doe <jane.doe@company.com> <jane.doe@private-email.com>

The plugin uses git blame, which reads .mailmap itself. See the gitmailmap documentation for more examples, such as fixing misspelled names.