Incorrect Contributor Still Appears After Rewriting Git History #213680
Replies: 3 comments
|
💬 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. ⭐ |
|
I checked the repo and the rewrite itself worked: there's no trace of the old co-author on
One more thing you'll probably want to fix, since your goal is to credit the bot. Your commits use: GitHub matches co-authors by email, and the noreply address for that bot includes its numeric ID. The That should only matter for new commits. You don't need another history rewrite for it. |
|
Hey, From what you've described, it sounds like you've corrected the commit history properly, but GitHub is still showing the old contributor avatar. Since you've already updated the co-author information, force-pushed the changes, and verified that the incorrect name and email are no longer present in your commits, this could be related to GitHub's cached contributor data. I'd suggest checking whether the incorrect contributor still appears under Insights → Contributors. If it's gone there but remains on the Code page, that would further suggest a difference in how GitHub updates these two views. Unfortunately, there isn't a publicly documented way to manually rebuild or refresh the Contributors section yourself. If the avatar continues to appear, I'd recommend contacting [GitHub Support](https://support.github.com/contact) with your repository URL and an explanation of the history rewrite. They can investigate whether the contributor information needs to be refreshed on their side. I wouldn't rewrite the commits again just to remove the avatar, especially since you've already corrected the attribution. Hope GitHub Support can help get the contributor list back in sync! |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
Hello GitHub Community,
I'm looking for help with an issue involving the Contributors section of my open-source repository.
Repository: https://github.com/Xakuraii/xaku-media
I'm building open-source software projects and believe in giving proper credit to the AI tools I work with during development. I wanted to recognize an AI coding assistant as a co-author in my Git commits, so its contribution could be transparently represented in my repository's Contributors section.
However, I accidentally used the wrong co-author identity:
OpenCode — Apruzzese FrancescoThis was not the AI identity I intended to credit. I later corrected the commit history and force-pushed the updated commits to GitHub.
The correct AI co-author identity I intended to use is:
opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>I've checked the updated commits, and the incorrect co-author attribution no longer appears in the commit messages. However, the incorrect contributor's avatar is still visible in my repository's Contributors section.
What I've already done:
What I'd like to know:
I want my repository's contributor information to accurately reflect the commit history and properly credit the AI tool I actually worked with.
I'd appreciate any guidance. Thank you!
All reactions