Search code examples
gitgithubgit-commit

Github Contributions do not show


I push my commits by git bash (Windows11) everyday, but they are not show as contribution on my github.

I've read several artilces like this. I've checked my email address and it is already added in git.

I have no idea what is the problem, and I really hope my commits in the past days can show as conribution.

Hope anyone can help. Thank you very much!

My repository is https://github.com/frankychhoa/codeeveryday


Solution

  • All your commits are made by [frankychhoa] <[[email protected]]> which is not normal syntax.

    You probably just need to set your name and e-mail address correctly in your client (fix the actual name, I'm just guessing):

    git config --global user.name "Franky Chhoa"
    git config --global user.email "[email protected]"
    

    Running git log in your repo shows:

    commit c961e52fe6 (HEAD -> main, origin/main, origin/HEAD)
    Author: [frankychhoa] <[[email protected]]>
    Date:   Wed Sep 28 21:58:11 2022 +0900
    
        2022.09.28
    
    ...
    

    But it's supposed to look like:

    commit c961e52fe6 (HEAD -> main, origin/main, origin/HEAD)
    Author: Franky Chhoa <[email protected]>
    Date:   Wed Sep 28 21:58:11 2022 +0900
    
        2022.09.28
    
    ...