Repository sidebar still shows stale contributors over 72 hours after history rewrite #213279
🏷️ Discussion TypeBug BodyRepository https://github.com/moc2216/rimedou I own this public repository. On November 13, 2026, I rewrote author and committer metadata and removed co-author trailers. The rewritten history is published on both branches and all five tags. Main currently points to 0817530b68db2da214e441dbbf9bae5fa2715600. The contributors API returns only moc2216, with 57 contributions. The repository home page sidebar still lists three contributors, moc2216, claude and xubihang. I confirmed this in a separate browser on November 16, more than 72 hours after rewriting history. Advancing main and publishing v3.0.0 did not refresh that display. I expected the sidebar to reflect the published history, consistent with the API. GitHub Docs says contributor statistics and displays may take about 24 hours to refresh after rewriting history. I submitted a support ticket, which was closed because the support options available for my account are self-service resources. Is there a supported way to refresh the repository sidebar contributor data, or can GitHub staff investigate this discrepancy? I can provide a screenshot of the current sidebar. |
Replies: 3 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. ⭐ |
|
Had a look at your repo, the API indeed only lists you, so it's just the cached sidebar that's stale. GitHub's pinned guide on this (https://github.com/orgs/community/discussions/209302) mentions a workaround that several people have confirmed: make GitHub re-read the default branch. Lower-risk version (nothing gets renamed), from kunalx731 in that thread: If that doesn't refresh the sidebar, the variant in the guide is to rename |
|
Resolved for moc2216/rimedou on November 17, 2026. Thank you @Bytewave1 for pointing me to the guide. I first created a temporary branch at the same main commit, switched the default to it, loaded the repository home page, and switched back to main. The sidebar still showed three contributors immediately afterwards. I then temporarily renamed the default branch and renamed it back to main. After reloading the actual repository home page, Contributors showed 1 and listed only moc2216. I verified that all original published branch and tag tips matched their pre-operation values, and the latest v3.0.0 release remained available. For this repository, Pages was disabled, there were no open pull requests or rulesets, and the workflow had no schedule. Please check your own repository configuration before trying a branch change. The important verification was the actual home-page sidebar, since our contributors API had already returned only one account before this operation. |

Had a look at your repo, the API indeed only lists you, so it's just the cached sidebar that's stale. GitHub's pinned guide on this (https://github.com/orgs/community/discussions/209302) mentions a workaround that several people have confirmed: make GitHub re-read the default branch.
Lower-risk version (nothing gets renamed), from kunalx731 in that thread: