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

前端 未结 27 1559
南笙
南笙 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:20

    Make sure your local email is the exact same that the one in the account.

    Go to the terminal and inside the folder you are pushing the commits, run:

    git config --global user.email
      #=> TRICULI.TO@MAIL.com
    
    git config --system user.email
      #=> 
    
    git config --local user.email
      #=> triculito@mail.com
    

    Something similar was happening to me. The email in my account was the one in the --global, but my --local was slightly different, it had not '.'.

    (In Gmail there is no difference between those emails, they work the exact same).

提交回复
热议问题