my github commits are not reflecting green squares #173699
Replies: 4 comments
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
If your green squares aren’t lighting up even though you’re committing to private repos, it’s usually one of a few gotchas. First, make sure private activity is actually shown on your profile: open your profile → “Contribution settings” → enable Include private contributions. Next, GitHub only counts commits that land on the repository’s default branch (or gh-pages for Pages repos), so work done on a feature branch won’t appear until it’s merged into the default branch. Also double-check that the author email on your commits matches a verified email on your GitHub account (or your GitHub no-reply address if you keep your email private). You can confirm which email a specific commit used by opening that commit and appending .patch to the URL, or locally with git log -1 --format='%ae'. If you’re pushing to a fork, those commits don’t count toward your profile unless they’re contributed upstream and merged into the upstream’s default branch. Finally, be patient—updates aren’t instant (and the graph only shows activity from the last 12 months). Quick checklist to fix it: turn on private contributions, verify the email in git config user.email matches one on your account, merge your work into the default branch (or open a PR), and avoid doing all the work only in forks. Hope this helps—if it does, feel free to mark as the accepted answer so others can find it too 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hi @Mohammad-Palla, Usually, when contributions don't show up in the activity graph, it's for the following reasons:
For more info see the docs: |
Beta Was this translation helpful? Give feedback.
-
Hey! @Mohammad-Palla
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
my github commits are not reflecting green squares even though I am regularly committing and pushing code on my private repos yes I cant see green squares
Beta Was this translation helpful? Give feedback.
All reactions