Claude still showing in Contributors list after removing it from Git history #212504
Replies: 2 comments 1 reply
|
💬 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. ⭐ |
|
The sidebar list is cached separately and isn't recalculated after a force-push, which is why the API and Insights look right while the homepage doesn't. A very similar case was solved two days ago in #212340, and the workaround was confirmed there:
The poster confirmed the Contributors list was recalculated right after and the removed account disappeared. A variant that many people have confirmed in #191565 is renaming One thing to fix first, though. Your history isn't fully clean yet. All 22 tags still point at the pre-rewrite commits (each one shows as "diverged" from the new I'm not sure whether the sidebar looks at tags, but if it does, the stale entry could come right back after the refresh. I'd move the tag onto the rewritten commit first: git fetch --tags
git log -1 --format='%s%n%ad' 'v0.12.0^{commit}' # the old tagged commit
git log main --format='%H %ad %s' | grep -F '<that subject>' # its rewritten twin on main
git tag -a -f v0.12.0 <new-sha> -m "Crowsnest 0.12.0"
git push origin -f v0.12.0
After that, do the default-branch switch. If the entry is still there a day later, it needs GitHub to purge the cache. #204093 has several reports of this exact stale-sidebar case if you want to add yours. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
Hey everyone,
I recently cleaned up the Git history of my repo to remove Claude's co author attribution and force pushed the changes. The weird part is that claude is still showing up in the contributors section on the repository homepage.
i have checked a few things:
Basically everything looks clean except the contributors section on the repo homepage.Its been more than 24 hours since the history rewrite and its still there.Has anyone faced something similar? Is there any way to refresh this listing or does github need to fix it on their end?
Repo: https://github.com/codeafridi/Crowsnest
Thanks in advance
screenshot for reference

All reactions