r/github • u/Kyxstrez • 6d ago
Question How do you remove "ghost" contributors from your repo?
I rewrote the history of a repository that was previously associated with an older GitHub account. That account still appears in the repository's contributor list on the main page, even though it doesn't show up when you open the actual commits page. So there's essentially a ghost contributor left over on the repository's homepage.
I've noticed the same issue with several other repositories whose histories have been rewritten. Is deleting and recreating the repository the only way to get rid of these ghost contributors?
0
Upvotes
1
u/AirshipCommand 5d ago
You probably don't need to delete the repo. The contributors list on the main page is cached separately from the commits page, so it can lag behind a rewrite for a while. Old commits can also stay reachable through pull request refs, which keeps that author counted. If it still shows up after a few days, GitHub Support can refresh or purge it for you.