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

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

    for me was the file within the project:

    /.git/config
    
    ...
    [user]
        name = your user
        email = user@host.com
    ...
    

    Inside the block [user] double-check the 'email' is correct (mine was incorrect) and the name is unique (mine was duplicated).

    To double-check with contributor is increasing use:

    git shortlog -sn
    

    make a push, check which one is increasing the counter and that name should be the name inside the block [user]

提交回复
热议问题