GitHub commits aren't recorded in the 'Your Contributions` calendar

前端 未结 27 1083
南笙
南笙 2021-01-29 21:59

I\'ve been making continuous commits to my GitHub repos from my linux shell and they show up nicely on the website just as they should. The only problem is that \"Y

相关标签:
27条回答
  • 2021-01-29 22:22

    I had the same issue in Xcode 9 for iOS development.

    In Github, I noticed a non-committer author.

    Even though I made commits in Xcode. There was no contributions in the 'Your Contributions` Calendar.

    Solution:

    Change Committer Name and Email Globally
    The email address used for the commits must be associated with your GitHub account.

    In the Terminal:

    $ git config --global user.name "Full Name"
    $ git config --global user.email "fullname@gmail.com"
    

    See also GitHub Help: Setting your commit email address in Git

    0 讨论(0)
  • 2021-01-29 22:22

    I had issues seeing attributions for commits on a private repo that was added to my organization after many of my commits occurred (new commits were showing up properly) and was only able to get them to show up by removing the email address from my profile, then re-adding the same email address.

    It seems like doing this cleared up a caching issue within GitHub.

    0 讨论(0)
  • 2021-01-29 22:24

    Turns out I previously changed my email address on GitHub and I forgot to change the local one, too.

    0 讨论(0)
  • 2021-01-29 22:25

    You can go to https://github.com/settings/emails and add the email that you are using with git config --global user.email

    0 讨论(0)
  • 2021-01-29 22:26

    This is a Github issue where sometimes their update mechanisms don't work and it turns into a "stale cache". This is nothing serious, simply send an email to support@github.com describing the issue and they'll fix it right away.

    0 讨论(0)
  • 2021-01-29 22:27

    Had same problem, mine was fixed by setting the email

    git config --global user.email jonathan.m2ndoza@gmail.com
    

    Hope this helps.

    0 讨论(0)
提交回复
热议问题