I'm struggling to get GitHub to show my contributions to a project. It is not my repository, but other repositories I've contributed to do show up on my profile.
I've tested contributions to both shared and private repositories work. I've pushed from other projects and everything is working as expected. The patches from the non-working project and a working one, both show the same details. Any pushes to working projects show me as a contributor on both the repository and my personal profile.
git config --global user.email
and git config --global user.name
are both correct. The repository I am committing to shows me as the author, but not on my profile.
I'm a bit lost on what to do. Does anyone have any ideas?
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.
Clone a local copy, delete the Github repository. Delete the . git folder in your local repository. Then initialize a new repository locally git init , then create a new Github repository and push your new local repository up to it.
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.
On GitHub.com, navigate to the main page of the repository. Under your repository name, click Insights. In the left sidebar, click Contributors. Optionally, to view contributors during a specific time period, click, then drag until the time period is selected.
Sometime if you do fork, commit or merge in your branch, it still doesn't show your name in contributors. It may be due to email which you set on command line is not mentioned in your git profile. Following steps work for me.
Now check the contributors tab on project. It will start showing your contributions.
Github shows only the top 100 contributors for a project.
If there are more than 100, the other contributors beyond these top 100 are never shown.
Even if you set a date range and there are less than 100 contributors displayed for the selected period, the list still only contains contributors who are among the all-time top 100.
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