Avatar not displaying on commits #21643
-
I hope this is the right place to ask my question… I should mention that I am using Mac OS High Sierra and Atom as my IDE. When I made an edit to a project file in Atom and then opened the Git pane, I noticed my avatar wasn’t displaying. Instead it is the default one. When I pushed the commit to GitHub, I noticed the avatar displayed next to commits was the octacat. The name associated with the commits has changed, however, so it appears it is recognizing that change, but not displaying the avatar. I did change my avatar as part of this process, and previous commits are displaying the new avatar instead of the old on both Atom and GitHub. It is just all new commits that are being affected. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 4 replies
-
thelaurafranklin:
Did you add your new primary email to your Github account, too? That’s what Github uses to detect who authored commits. If it doesn’t recognize the email address it’ll use the default avatar and the name in the commit. |
Beta Was this translation helpful? Give feedback.
-
Yes, I changed my username, primary email, and profile picture first. Then I updated the .gitconfig with the username and email. To be clear: The only part that isn’t working is the avatar the normally appears next to commits. It is displaying default avatars in both Atom and GitHub. The username is displaying next to commits in GitHub and it is updating the contributions with new commits. |
Beta Was this translation helpful? Give feedback.
-
Just decided to remove my profile pic and see what happens. The pic changed to one of those patterned ones and all of the older commits changed to that avatar. The commits since the change, however, continue to have the octacat avatar. |
Beta Was this translation helpful? Give feedback.
-
I took a quick look at your Github profile, and I can see that Github clearly doesn’t recognize the newer commits as yours. Yes, the listed name is the same as your username (presumably because it’s the author name in the commit), but it’s not linked to your profile like the old ones are. What I can’t say is why that is. If the email is correct (exactly the same in your commits and in your profile) it’d have to be some Github-internal issue. Maybe caching regarding which mail addresses are on which account? But I can only speculate there. |
Beta Was this translation helpful? Give feedback.
-
If that is the case, then why are my new commits showing up as contributions?? |
Beta Was this translation helpful? Give feedback.
-
thelaurafranklin:
I don’t think they are: Your public profile shows one contribution for today, the creation of a repository. The commits you pushed to that repository do not show up so far, though that could also be a matter of caching. |
Beta Was this translation helpful? Give feedback.
-
Aha! You are right. It shows that I made the new repository, but I just made test commits on ‘test’ and ‘kitten-clicker’ and neither of those are showing up. hmmm… Could you do me a favor and do a pull request on ‘test’. just add a comment or something. I want to confirm that it works fine for other people. |
Beta Was this translation helpful? Give feedback.
-
@airtower-luna |
Beta Was this translation helpful? Give feedback.
-
Thank you for the update, I’m glad you figured it out! That’s about what I suspected at first. 😁 |
Beta Was this translation helpful? Give feedback.
-
I would like to add that I just had the same problem with my commits, and after reading this I solved it checking my git credentials on my computer with I hope this can help to someone that had the same problem. |
Beta Was this translation helpful? Give feedback.
-
Yes, this happens when the username or email provided in git config is incorrect from the one registered in GitHub |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
-
In the GitLens commit list, it is necessary to update the image at https://gravatar.com/ associated with your email |
Beta Was this translation helpful? Give feedback.
I don’t think they are: Your public profile shows one contribution for today, the creation of a repository. The commits you pushed to that repository do not show up so far, though that could also be a matter of caching.