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

前端 未结 27 1197
南笙
南笙 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

提交回复
热议问题