My contribution history is empty #180217
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments · 1 reply
-
|
Hi, @ivansmialko quick help request and steps I tried so far. Yesterday I noticed my contribution graph is almost empty (private and public repos). My Personal Access Token expired recently; I re-authenticated using the GitHub CLI, but the graph still shows no contributions. Has anyone seen this before or can suggest what I should check next? Short explanation (what likely happened) The usual causes for missing contributions are: commits pushed with an email that isn’t the one verified on your GitHub account; commits on non-default branches or branches that aren’t merged; private-contribution display settings; or a short delay while GitHub recalculates the contribution graph. Quick checklist you can try right now git config user.email See which emails appear in your recent commits: git log --pretty=format:'%an <%ae>' | sort | uniq -c Confirm that email is added and verified in your GitHub account settings (Emails section). Make sure the commits are on the default branch (or were merged to it) or that PRs were merged — those are the ones counted. Check your profile contribution settings and ensure “Include private contributions on my profile” is enabled. Wait a bit — sometimes the contribution graph takes minutes to hours to update after fixes. Fixes if commits use the wrong email git commit --amend --author="Your Name correct@example.com" --no-edit git push --force Many commits: rewrite history (use care; coordinate with collaborators) Recommended tool: git filter-repo (or git filter-branch / BFG). Rewriting history requires force-pushing and informing collaborators. Notes and warnings PAT expiration itself wouldn’t clear past contributions — fixing the commit email or merge state usually resolves it. If you want, paste the output of: git config user.email one line from git log showing a commit (author and email) and I’ll suggest an exact command to fix that commit or the strategy for a larger rewrite. |
Beta Was this translation helpful? Give feedback.
-
|
Very easy:
|
Beta Was this translation helpful? Give feedback.


Hi, @ivansmialko quick help request and steps I tried so far.
Yesterday I noticed my contribution graph is almost empty (private and public repos). My Personal Access Token expired recently; I re-authenticated using the GitHub CLI, but the graph still shows no contributions. Has anyone seen this before or can suggest what I should check next?
Short explanation (what likely happened)
Expired PAT or re-authenticating does not remove past contributions. The graph counts commits, PRs, issues, and merges that are tied to your GitHub account (usually via the commit email or actions like PR merges), not your CLI token.
The usual causes for missing contributions are: commits pushed with an email …