Contributors disappeared after leaving a fork network #208228
Replies: 3 comments
|
Yes, this is a known quirk when breaking away from a fork network. When you leave a fork network, GitHub's background worker cache for repository statistics (like the contributors graph) can occasionally get stuck or fail to automatically re-index commit author mappings, especially if the commits were made under the old default branch ( Since your
|
|
Hi @htnabe , the behavior is worth checking, because GitHub's documentation says that leaving a fork network preserves the Git commit metadata, and commits can become eligible to be counted as contributions after the repository becomes standalone. A couple of things I'd verify before trying to trigger a rebuild:
GitHub specifically documents that contributor data can take about 24 hours to refresh after history changes, and recommends contacting Support if it is still incorrect afterward. I wouldn't create an empty commit just to force a re-index unless GitHub Support recommends it — I couldn't find that as an official GitHub procedure. |
|
Hi @htnabe Contributors graph disappearing after leaving a fork network is a known cache reindex issue. GitHub treats the repo history as rewritten when fork relationship breaks. Steps:
The commits still exist. The graph cache needs rebuild. Support can trigger reindex if 7 day wait fails. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Other
Body
Hello,
I have an issue with the Contributors graph of the following repository:
https://github.com/htnabe/prettier-plugin-go-template
This repository was originally a fork of another repository. I later changed the default branch from
mastertomainand then used "Leave fork network" to make it an independent repository.After leaving the fork network, the Contributors information disappeared from the repository.
However, the Git history still contains all of the original contributors' commits. For example, running:
shows contributors including:
The repository's default branch is currently
main, and these commits are still present in its history.I have several questions:
I have not modified or rewritten the existing commit history.
Thank you for your help.
All reactions