How to create a homemade .mailmap file copy one from someone whose work you trust so you know the format set -- 'https://web.archive.org/web/0id_/github.com/wincent/wincent/raw/f2598a0cdc/.mailmap' && { curl --location --remote-name "${1?}" || wget --hsts-file=/dev/null "${1?}" } list all names and email addresses in your repository’s commit history git log --all --format='%an <%ae>%n%cn <%ce>' | LANG='C' LC_ALL='C' sort -u then keep editing .mailmap until satisfied with the output of the following command git shortlog --all --email --numbered --summary | cut -f 2 | LANG='C' LC_ALL='C' sort -u