contributor list still stale after rebase after 48+ hours #210235
🏷️ Discussion TypeBug 💬 Feature/Topic AreaAPI Bodyoverview"Vercel[bot]" is listed as one of the contributors for my repository. This bot has one commit only so i wanted it gone from the list. steps to reproduce
|
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. ⭐ |
|
Hahaha. I took a look at your repo :) ,and found the cause: the bot isn't there because of the commit author, it's there because of a co-author trailer. Commit GitHub counts co-authors from You need to do this Find the commit and start an interactive rebase from its parent: git checkout backup-before-author-fix
git rebase -i 09a820b~1After that In the editor, change pick to reword on the 09a820b line, save, then delete the Co-authored-by: Vercel ... line from the message Then Force-push: git push --force-with-lease origin backup-before-author-fixIf you wanna make sure that the bot doesn't appear anymore use: git log --format='%h %s%n%b' | grep -i "vercel\[bot\]"But i need to tell you about the delay the contributors list in the sidebar is cached, so it can take a while to refresh even after the fix. Pushing a new commit to the default branch usually triggers the update. If it still shows after a few days, GitHub Support (https://support.github.com/) can refresh the contributors cache for the repository. Let me know if this helps you. If it the case please mark it as the answer <3 |
Hahaha. I took a look at your repo :) ,and found the cause: the bot isn't there because of the commit author, it's there because of a co-author trailer.
Commit
09a820b("Update React Flight RCE vulnerability patches") on your default branch still ends with:Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
GitHub counts co-authors from
Co-authored-by:trailers as contributors, so rewriting the author alone isn't enough. You need to remove that line from the commit message too.You need to do this
Find the commit and start an interactive rebase from its parent:
After that In the editor, change pick to reword on the 0…