Fix Github’s missing green boxes on commits

When I setup a new development environment, I’ll commit my code to GitHub but the green boxes won’t show my contribution for that day.

It’s usually because my git email / name is incorrect. The fix is pretty simple. Type the following into the command line:

git config --global user.name "Your Name"
git config --global user.email "yourgithubaccountemail@blah.com"

Try to commit and push your code again to see if your contributions are now showing.

Another reason for contributions not showing up is if you’re pushing code to a branch other than master.

Share on facebook
Share
Share on linkedin
Share
Share on reddit
Reddit
Share on twitter
Twitter
Nikita Kazakov
Nikita Kazakov

Software Developer and Product Owner.