I want to remove Claude AI name from Contributor list #191565
Replies: 9 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.
-
|
The git history is clean on your end, which is the right first step. The contributor graph on GitHub is a separate cached layer and it doesn't update in real time after a force-push or history rewrite. GitHub caches contributor data independently of commit history, so even after you've removed the commits, the cache may still reference that name for a while. A couple of things to check:
The fastest path is contacting GitHub Support directly at support.github.com and explaining the situation. They can manually trigger a contributor cache refresh. Just mention that you rewrote the history with |
Beta Was this translation helpful? Give feedback.
-
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.

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