I want to remove Claude AI name from Contributor list #191565
Replies: 14 comments 1 reply
-
|
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.
-
Beta Was this translation helpful? Give feedback.
-
|
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.


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