Contributors list still shows removed contributors after history rewrite #207700
Replies: 2 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. ⭐ |
|
Hey @VitorASC! I just checked your repo, the actual git history looks clean, just your commits are there. So the rewrite was fine, just the stats cache on Github being slow. The fastest way to force a refresh is to push an empty commit . I guess nothing broken on your side actually! In case you need the commands for empty commits: 1. git commit --allow-empty -m "trigger stats refresh" then 2. git push |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
Hello,
I rewrote the Git history of my repository and removed all commits from previous contributors.
Repository: https://github.com/VitorASC/GerenciamentoCarteira
Running:
git shortlog -sne origin/main
returns only:
"Personal info edited by staff"
There are no other remote branches containing the old history and there are no tags.
The history rewrite was completed several days ago, but the old contributors are still displayed in the Contributors section.
GitHub documentation says contributor statistics may take around 24 hours to refresh, but this has already exceeded that period.
I also contacted GitHub Support, but my ticket was closed because my account currently only has access to self-service support resources, and I was directed to GitHub Community Discussions.
Is there any way to force the contributor statistics to be recalculated, or is this something only GitHub staff can refresh internally?
All reactions