Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Git mailmap is used for patching / correcting emails of a particular contact in git. It replaces and corrects info in git log, etc. How to get github to record contributions to the right person’s profile using the mailmap to get the correct email address to record contributions to?

You must be logged in to vote

Hi @meetmangukiya. Thanks so much for reaching out on the GitHub community.

Unfortunately at the present time, GitHub does not support using mailmap files. We do have an open feature request for this, and I’ve added your post to this. You are also welcome to submit feedback directly through our feedback form.

The only way to update the contributor details in your commits is to rewrite git history, which we generally don’t recommend, particularly if your repo has multiple contributors. However, we do have a guide on doing this: Changing author info.

Replies: 5 comments · 7 replies

Comment options

Hi @meetmangukiya. Thanks so much for reaching out on the GitHub community.

Unfortunately at the present time, GitHub does not support using mailmap files. We do have an open feature request for this, and I’ve added your post to this. You are also welcome to submit feedback directly through our feedback form.

The only way to update the contributor details in your commits is to rewrite git history, which we generally don’t recommend, particularly if your repo has multiple contributors. However, we do have a guide on doing this: Changing author info.

You must be logged in to vote
4 replies
@ssbarnea
Comment options

Where is this "open feature request". I tried to click on "feedback form" link but this sends directory to the generic community discussion forum, so not of much use.

That .mailmap feature is important for other reasons too: allowing people to remap contributions from defunct email addresses, removing duplicates and as a trick to hide bot contributions under a single "generic" account.

@adlai

This comment was marked as off-topic.

@richardebeling
Comment options

@adlai I don't see anything backing up that claim in the SO answer. Alessandro made some commits using a gmail address, e.g. this one. They are attributed to him on GitHub, but this is because he verified that email address on his account. You can verify on this commit, which is also attributed to him without any .mailmap entries. There is no indication that the .mailmap file is involved in what he is observing. My sample repo still shows the wrong name that should have been corrected by .mailmap.

@adlai

This comment was marked as off-topic.

Comment options

Github still appears to not support mailmap. Might I ask if there is an active plan to support this in near future? thank you.

You must be logged in to vote
3 replies
@beutlich
Comment options

@ghost 👻 Any news on this?

@jeremyjh
Comment options

Its scheduled for implementation on the 12th of Never

@adlai

This comment was marked as off-topic.

Comment options

It looks like github still doesn't support mailmap. The feature would be greatly appreciated. Thanks!

You must be logged in to vote
0 replies
Comment options

I'd love to see .mailmap support as well!

You must be logged in to vote
0 replies
Comment options

any update?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Morty Proxy This is a proxified and sanitized view of the page, visit original site.