Deleted commits still appear on my GitHub contribution graph #208070
Unanswered
Vansh-Codez
asked this question in
Other Feature Feedback, Questions, & Ideas
Replies: 1 comment
|
💬 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. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Code Search and Navigation
Body
Hello GitHub team/community,
I'm experiencing a stale contribution graph issue on my GitHub profile.
My profile currently shows 448 contributions in the last year, including contributions attributed to my private repository:
Vansh-Codez/Machine-Learning-Practice
I previously created backdated commits in this repository using a script. I subsequently removed those generated commits from the repository history and retained my legitimate commit(s).
The repository is currently clean.
I verified the following:
git log --oneline --all --decorateshows only:
5f3cf12 (HEAD -> main, origin/main, origin/HEAD) Initial commit
git ls-remote --heads originshows only:
5f3cf1284a656e1816e18594dcda5e437b325321 refs/heads/main
git fsck --full --no-reflogs --unreachablefinds no unreachable commits.
There is also a clear discrepancy on my GitHub profile:
The contribution activity still shows historical contributions from Machine-Learning-Practice, but when I click the corresponding contribution and view the commits for that date, GitHub displays:
"No commits history"
This has persisted for approximately one month.
I understand that contribution data can take some time to update after repository history changes, but this has persisted far beyond the normal refresh period.
I'm not trying to restore the deleted commits. I want the contribution graph to accurately reflect the repository's current history.
Could someone please confirm whether this is stale/cached contribution data and whether the contribution index for my profile/repository can be recalculated?
I've attached screenshots showing:
Thank you.
All reactions