I want to remove Claude AI name from Contributor list #191565
Replies: 23 comments 9 replies
-
|
What you can do:
If your commit history is clean (which you’ve verified), then this is just a delay on GitHub’s side, not an issue with your repo. |
Beta Was this translation helpful? Give feedback.
-
|
Hi There! This is expected behavior on GitHub and not an issue with your git history rewrite. Even after removing the Co-Authored-By lines and force-pushing a fully rewritten history, GitHub’s contributor graph does not update immediately (and sometimes not automatically at all). This is because GitHub caches contributor data separately from the raw git history. Why the co-author still appears:
What you can do:
Include:
Important notes:
Summary: |
Beta Was this translation helpful? Give feedback.
-
|
GitHub doesn’t update the contributor list instantly. It uses cached data, so even after cleaning the history, the old name can still show for some time. Usually, it fixes itself within a few hours or up to a couple of days. You can try pushing a small empty commit to help trigger a refresh, but even that is not always necessary. If you’ve already checked and the name/email is completely gone from your commits, then there’s nothing more you need to fix in your repo. Just wait a bit. If it still shows after 2–3 days, then you should contact GitHub Support and ask them to refresh the contributor data. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, This is expected behavior on GitHub. Even after rewriting commit history, the Contributors list may still show the removed author due to cached data. GitHub periodically recalculates contributors, but it can take some time. You can try:
Also note:
If the issue persists after some time, you may need to contact GitHub Support for a manual refresh. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
GitHub’s contributor list doesn’t update instantly after rewriting history. What to do:
Important: Even after cleanup, GitHub may still show them temporarily due to caching. ✅ Your steps are correct — just need to wait or contact support. |
Beta Was this translation helpful? Give feedback.
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
-
|
Rename your "main" branch to "main1" and back (after doing the history rewrite). This fixed it for me. |
Beta Was this translation helpful? Give feedback.
-
|
Hey, what you're seeing is expected behavior due to how GitHub computes and caches the Contributors list, which is not a direct reflection of your current Git history alone. Why the contributor still appearsEven after rewriting history and force-pushing, GitHub’s contributor list is derived from:
So even if:
GitHub may still show the contributor because:
Important details1. GitHub caches contributor statsThe contributors graph is:
It can take:
2. Contributions from forks / PRs still countIf that co-author:
GitHub may still associate them with the repo. 3. Hidden refs may still existEven after: git filter-branch
git gc --prune=nowGitHub may still retain:
What you can try1. Wait for re-indexing (first step)In many cases:
2. Trigger activityMake a new commit and push: git commit --allow-empty -m "trigger reindex"
git pushThis can sometimes force GitHub to refresh metadata. 3. Verify no commits remainRun: git log --all --grep="Co-authored-by"and also check: git shortlog -sne --allEnsure the co-author is truly gone everywhere. 4. If still present → GitHub SupportAt that point, it's likely:
You can contact: Explain:
Important limitationEven with full history rewrite:
Because:
|
Beta Was this translation helpful? Give feedback.
-
|
Did it work in the end? I checked your repos; it appears that you have actual commits by Claude. Perhaps you later gave up and accepted it instead of fighting against it? I am curious because this happened to me too. I did credit Claude in the source code, but I did not want the logo of the company prominent on all my GitHub projects. For example, I use Apple computers and don't have problems sharing this information, but I don't want the Apple logo to be printed on all my projects, like "Powered by Apple" or something of this kind. PS: I tried the trick https://github.com/orgs/community/discussions/191565#discussioncomment-16526230 but it did not work. |
Beta Was this translation helpful? Give feedback.
-
|
just block claude ... simple " You have blocked this user" |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
TL;DR I found the solution - read the last paragraph. Thanks a lot @federweb for the tip. It did not work, though. Possibly because my project was not in my own GitHub but rather in a GitHub organization. I had banned I also tried to contact GitHub, and I received an automatic message by Copilot saying that a refresh of GitHub widgets updating author contributions cannot be triggered manually. I am saying this here to save time for people in the future if they consider writing GitHub support stuff. The solution was about shortly transferring ownership of my project to my personal GitHub and then back again. The transfer lasted about 10 seconds, just the time to click on the buttons in the danger zone to switch ownership. This operation triggered the recalculation of authors' contributions. Now only actual authors are credited, and the problem is now fixed. Hopefully this can save time for someone else reading this post in the future. |
Beta Was this translation helpful? Give feedback.
-
|
GitHub caches its contributor data, so the old name might stick around for a while even after you clean up your history. Usually it corrects itself within a few hours to a couple of days. You can try pushing an empty commit to nudge things along, though honestly it's often unnecessary. If you've already verified the name and email are gone from your actual commits, you're done. The rest is just time. Give it a few days. If it's still there after 2–3 days, reach out to GitHub Support and ask them to refresh the data. That's about all you can do at that point. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, I did everything you described, but after a week there was no refresh. Probably if I had waited a month, it would have refreshed at some point. How often the refresh occurs probably depends on (pure speculation):
The method I described above works instantaneously, and I verified it just recently. So why not use it, especially if you have a second GitHub account that you can use to temporarily (10 seconds) juggle your repo back and forth? |
Beta Was this translation helpful? Give feedback.
-
|
After trying most approaches in this thread, here is what I can confirm from personal testing, plus a summary of what the community has found across multiple discussions. Why the problem persists after git-filter-repo + force push: What actually worked for meI had Claude AI and CodeRabbit showing up and wanted them gone. The fix is a branch rename, which forces GitHub to recalculate the contributor index: Make the repo private first, do both renames, make it public again. Refreshed the page and they were gone. |
Beta Was this translation helpful? Give feedback.
-
|
blocking claude as mentioned a couple posts above works just fine. |
Beta Was this translation helpful? Give feedback.
-
|
That's an interesting issue. If the commit history has been fully rewritten, I wonder if the contributor list is cached by GitHub and just needs time to refresh. Looking forward to an official clarification. |
Beta Was this translation helpful? Give feedback.
-
|
GitHub's Contributors page isn't generated solely from the current Git history. It can be cached, and it may also take into account historical commit data that GitHub has already indexed. Even after rewriting history and force-pushing, the contributor list may not update immediately. A few things you can check:
|
Beta Was this translation helpful? Give feedback.
-
|
Hey everyone 👋 There’s already a lot of useful detail in this thread, so I’m posting a short summary here to help others who land on the same problem. Short version of what’s going on: GitHub’s Contributors list is cached / indexed separately from your current git history. So even after removing Co-authored-by and force-pushing, Claude can stay visible for hours/days (or longer if old PR refs still exist). What usually works:
Important: Hope this helps others too. If it does, please mark as the accepted answer. |
Beta Was this translation helpful? Give feedback.
-
|
None of the solutions above helped. I don't know why, but something strange happened. After I changed the default branch to an existing one and then switched it back to the original branch, the number of contributors dropped from 4 to 3 (so GitHub most likely removed that contributor). However, the HTML rendering of the contributors' images and names did not change. I didn't even use this shit. I just merged a PR and... 😮💨 The repo UPDATE: Oh, it's fixed now. I don't know how, but I created a new file and it got fixed. I really hate Claude for causing such a disaster, though. They've lost one of their customers... |
Beta Was this translation helpful? Give feedback.
-
|
Hi, This is a known GitHub caching issue. Rewriting history with filter-branch removes the co-author from the commits, but GitHub's contributors graph and insights are cached and won't update automatically. Here’s what you need to do: Force a refresh – Go to your repository on GitHub, click on the "Insights" tab, then "Contributors", and manually refresh the page a few times. Sometimes it takes 24–48 hours to update. Create a dummy commit – Make a trivial change (e.g., add a space in the README), commit it, and push it. This forces GitHub to recalculate the contributor list. bash If none of the above works, you may need to delete and re-create the repository (private → delete → re-create with the same name) and force-push your clean history again. This is the nuclear option but always works. Let me know if you need more help! |
Beta Was this translation helpful? Give feedback.
-
|
GitHub's contributor list can lag after a history rewrite. If you've removed the co-author from all branches and tags, give it some time. If it still doesn't update after a few days, contact GitHub Support to have them check the contributor cache. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
Body
I recently rewrote the commit history across all three of my repositories to remove a co-author entry that was added by mistake. I used git filter-branch to strip the Co-Authored-By lines from every commit,
deleted all backup refs (refs/original/), expired the reflog, ran git gc --prune=now, and force-pushed all branches and tags.
The git history is now fully clean — the co-author's name and email no longer appear in any commit. However, the contributor list on GitHub still shows the removed co-author.
Affected repositories:
Beta Was this translation helpful? Give feedback.
All reactions