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

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

    "You have to commit the changes with the same email id you used to login to your github account"

    How to solve:

    • Change global email id for all repositories using following command.

    git config --global user.email abc@xyz.com

    • Or Change email id for one particular repository. From inside the particlar repository run below command

    git config user.email abc@xyz.com

    • Or in the repository open .git/config file and edit

    email = abc@xyz.com name = abc

    other causes can be found here https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/

提交回复
热议问题