Contributors list shows 2 accounts with no commits after force push #210109
🏷️ Discussion TypeBug BodyHi, the Contributors section of my repository PrograNinoGit/adirondack-site shows 3 contributors, but I am the only one who has ever committed to the current history. What I checked:
How this happened: Question: I already contacted GitHub Support, but only got an automated reply pointing to the community resources. Thanks for any help! |
Replies: 2 comments 2 replies
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Yes, the Contributors list is cached. A force push doesn't remove the old commits from GitHub's copy of the repo straight away, so the list can keep showing their authors until the repo is garbage-collected and recalculated. Things you can do yourself, in order:
Deleting and recreating the repo also works, but you'd lose stars, issues and the link history, so I'd try 1–3 first. |
Yes, the Contributors list is cached. A force push doesn't remove the old commits from GitHub's copy of the repo straight away, so the list can keep showing their authors until the repo is garbage-collected and recalculated.
Things you can do yourself, in order:
git shortlog --allonly sees refs you fetched. GitHub keeps more:refs/pull/*. PR refs keep old commits alive. If an old branch or tag still exists on GitHub, delete it (git push origin --delete <name>).