GitHub commits aren't recorded in the 'Your Contributions` calendar
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 "Your Contributions" section doesn't show any recent activity. I have one green square from some day in November which I don't know how I got but all the other contributions don't show up in the calendar (but again, they do show up in their repos.
What am I missing here?
My github site
For me this problem was caused by me committing from my work computer where I was using a different email in my gitconfig. Adding my work email address to my github account didn't make the past commits show up in the summary, but new commits are now showing up as they should.
You can find the email address you are using for a repository with git config user.email
.
from git
I've just had a peek at your contributions for the GoTime2 repository and it seems that you've been pushing commits to the layout branch.
The reason why those contributions are not showing up is that we only track commit contributions when they are made to the repository's default branch or gh-pages branch:
https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile#which-contributions-are-counted
Once your contributions are merged into the default or gh-pages, you will get credited for them on the date you authored them.
so in my case I had to merge my 'layout' branch with the 'master' branch to see the 'your contributions' show up in the calendar.
This is a Github issue where sometimes their update mechanisms don't work and it turns into a "stale cache". This is nothing serious, simply send an email to [email protected] describing the issue and they'll fix it right away.
A possible cause for this:
Commit was made in a fork
Commits made in a fork will not count toward your contributions.
https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/
This did the trick! I just used $ git config user.email "my email address used on my git repo"
and it worked.