The git history from last 3 months not showing #214781
Replies: 3 comments
|
Primary is not needed. Deleting an account deletes its repositories, so commits in those repositories are gone. For private repositories, turn on Private contributions in your profile. |
|
Nope, making it primary will not change anything. Any verified email on the account counts for attribution, so you are already covered there. The tough part is the deleted account. Deleting an account deletes the repositories it owned, so if those 1750 commits only lived in those repos, they went with them. That is the most likely reason nothing showed up after 48 hours. If any of those commits live in repos that still exist somewhere else, they should show now that the email is verified on the consolidated account. And if those repos are private, turn on Private contributions in your profile settings or the private work stays hidden. |
|
You don't need to make the migrated email your primary email. Before changing any account settings, I would check the actual author email stored in one of the missing commits: git show -s --format='%an <%ae>' COMMIT_SHAAlternatively, append Then verify that:
If you still have a local clone, you can inspect which remote branches contain the missing commit: git fetch --all
git branch -r --contains COMMIT_SHAThis helps distinguish an email attribution problem from a repository or branch eligibility problem. If the commits existed only in repositories deleted with your old account, changing your primary email will not restore those repositories. Official troubleshooting guide: I would avoid rewriting commit history until you've identified the actual cause. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Code Search and Navigation
Body
I had 2 git accounts. I deleted one account and added the associated primary email id to the other. The 1750 git commits linked to the email migrated is still not showing in the consolidated git account. It has been 48 hours after the commit to the consolidated account. Please advice. Should I make the migrated email id as primary?
All reactions