Your local Git commit email isn't connected to your account Commits must be made with an email address that is connected to your account on GitHub.com, or the GitHub-provided noreply email address provided to you in your email settings, in order to appear on your contributions graph.
Whenever you commit to a project's default branch or the gh-pages branch, open an issue, or propose a Pull Request, we'll count that as a contribution. Repositories are sorted by your recent impact. A commit today is worth more than a commit last week.
You can see your contributions over time by either clicking Show more activity at the bottom of your contribution activity or by clicking the year you're interested in viewing on the right side of the page.
In the top right corner of GitHub.com, click your profile photo, then click Your profile. Publicize or hide your private contributions on your profile: To publicize your private contributions, above your contributions graph, use the Contribution settings drop-down menu, and select Private contributions.
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.
"You have to commit the changes with the same email id you used to login to your github account"
How to solve:
git config --global user.email [email protected]
git config user.email [email protected]
email = [email protected] name = abc
other causes can be found here https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/
Make sure your local email is the exact same that the one in the account.
Go to the terminal and inside the folder you are pushing the commits, run:
git config --global user.email
#=> [email protected]
git config --system user.email
#=>
git config --local user.email
#=> [email protected]
Something similar was happening to me. The email in my account was the one in the --global, but my --local was slightly different, it had not '.'.
(In Gmail there is no difference between those emails, they work the exact same).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With