Previous Commits from Secondary Account Not Reflected in My Personal Contribution Graph #180050
Replies: 5 comments · 2 replies
-
|
hey there, afaik hope this helps. all the best. |
Beta Was this translation helpful? Give feedback.
-
|
GitHub only shows past commits in your contribution graph if the author email matches a verified email on your account and the commits are on the default branch or merged into it. Even if the commits now show your username, if the author email or branch doesn’t match, they won’t appear as green squares. Double check the author email on those commits and make sure they’re in the default branch history. If everything is correct, the graph may need up to 24 hours to refresh, or you can ask GitHub support to reprocess your contributions. |
Beta Was this translation helpful? Give feedback.
-
|
@Aqib121201 |
Beta Was this translation helpful? Give feedback.
-
|
Here’s the situation as clearly as possible: GitHub won’t retroactively add old commits to your contribution graph just because you moved the email from one account to another. The commits may display your current username because the email now belongs to your main account, but the contribution graph only shows activity under strict conditions: The commit must be on a repository you currently have access to. The commit must be on the default branch or a merged pull request. The repo must not be a fork unless the commits are part of a merged PR upstream. GitHub does not backfill contributions when an email is moved to a different account — the graph is not rebuilt historically. So even though the author field shows your username now, GitHub does not recalculate past contribution activity. What you can do: Make sure you still have access to those private repositories with your personal account. If the commits were on non-default branches, merge them into the default branch. If you absolutely must show these commits in your graph, the only guaranteed method is to rewrite the commit history using your current email — but this will change hashes and may break things, so it’s usually not recommended. Can GitHub Support rebuild your graph? Let me know if you want me to rewrite it in a more polite or more technical tone — or if you need that GitHub badge generated. |
Beta Was this translation helpful? Give feedback.
-
|
Here’s my situation, brother: Those commits were made on the default branch, and I’m already a member of that repository, but it still looks like I haven’t received those contributions in my GitHub graph. What should I do next? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
What happened:
Umerriaz111) — the author is displayed as my personal account in the graph / history.What I expected:
What I actually see:
Umerriaz111) as the author.What I have confirmed / done:
umerriaz2334@gmail.com)GitHub <noreply@github.com>), but the Author email is correctQuestions / Help Needed:
Additional Info:
Umerriaz111Beta Was this translation helpful? Give feedback.
All reactions