GitHub Sidebar Shows Stale Contributors After History Rewrite; Community Finds Workaround
A developer found that a contributor removed from a GitHub repository's history still appeared in the main page sidebar after a force-push. A community member traced the problem to the sidebar's cached data, which still listed the old contributor count even though the live API showed the correct figures. The discrepancy persisted well beyond GitHub's stated roughly 24-hour refresh window. A workaround was proposed: temporarily renaming the default branch and then renaming it back, which has reportedly triggered cache refreshes, though it has not worked for everyone.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in