Does GitHub consider .mailmap for contribution graph

2.2k views Asked by At

Have got a git repo with incorrect contributors and their contributions. Repo has few commit's from different emails and alias name and we have added .mailmap to resolve this issue.

Shortlog recognizes .mailmap and groups contributions accordingly, but it doesn't reflect on GitHub. Does GitHub consider .mailmap file or should we have to wait for GitHub re-run the graph.

git shortlog -sne

Note: We have waited for 24 hours already

2

There are 2 answers

7
MusicMan On

Github considers .mailmap file for contributions and it takes time to update contributors graph and pulse (in our case it was 24 - 36 hours )

0
Richard E On

GitHub currently (as of 2023-12-06) does not remap author names or email addresses according to the rules in a .mailmap file.

I've created a small test repository that you can use to verify this.