How to get mailmap to work and record contributions in relevant user's profile? #22518
-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
Github still appears to not support mailmap. Might I ask if there is an active plan to support this in near future? thank you. |
Beta Was this translation helpful? Give feedback.
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.