my contributions arent reflecting even after pushing changes on daily basis to my github account #191874
Replies: 1 comment
-
|
Hi! This usually happens due to a few common reasons, even if you’re pushing code every day. Here are the main things to check: 1) Check your commit emailThe most common reason is that the email used in your local Git commits is different from the email linked to your GitHub account. Run: git config --global user.email
git config --global user.nameMake sure the email shown here is exactly the same as the one added and verified in your GitHub account settings. ([GitHub Docs]1) If it’s different, update it: git config --global user.email "yourgithubemail@example.com"
git config --global user.name "Your Name"2) Check if you are committing to the default branchGitHub counts contributions mainly when commits are made to the default branch ( If you are committing daily to:
those commits may not appear until merged into 3) Check if the repository is a forkIf the repo is a fork, commits may not count unless you create a pull request to the parent repository. ([GitHub Docs]1) 4) Wait for GitHub to updateSometimes GitHub takes up to 24 hours to update the contribution graph. ([GitHub Docs]1) So if you pushed recently, wait a bit. 5) Private repo settingsIf you are working in private repositories, enable: Profile → Settings → Contributions & activity → Include private contributions Otherwise the graph may not show them. 6) Quick verificationGo to one of your recent commits in the repo. Click on the author name. If clicking the name opens your profile, then email mapping is correct. Most of the time, the problem is either:
These are the most common causes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Code Search and Navigation
Body
my contributions aren't reflecting even after pushing changes on daily basis to my github account
Beta Was this translation helpful? Give feedback.
All reactions