Add option to disable automatic Co-authored-by: Copilot trailer in commits generated by Copilot CLI #203517
Unanswered
Neknail
asked this question in
Copilot Conversations
Replies: 1 comment
|
💬 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. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Copilot CLI
Body
Summary
Please add a configuration option to disable the automatic injection of the
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>trailer in commit messages generated by GitHub Copilot CLI.Current Behavior
When GitHub Copilot CLI generates or amends commits on behalf of the user, it automatically appends the following trailer to every commit message:
There is currently no configuration option, CLI flag, or project-level setting to opt out of this behavior.
Expected / Desired Behavior
Users should be able to opt out of the automatic
Co-authored-bytrailer injection via one or more of the following mechanisms:--no-copilot-traileror--no-co-authored-by~/.config/gh/config.ymlor a dedicated Copilot settings file.github/copilot-config.ymlor a recognized key inAGENTS.md/COPILOT-INSTRUCTIONS.mdUse Cases
Why This Matters
While AI attribution is valuable for transparency in many contexts, it should be opt-in or at least opt-out — not forced on every commit without a way to disable it. Providing a configuration option respects user autonomy while still allowing those who want the trailer to keep it enabled by default.
Workaround (Current)
The only current workaround is to manually amend each commit after the fact:
git commit --amend -m "$(git log -1 --pretty=%B | grep -v 'Co-authored-by')"This is tedious and error-prone, especially in automated or high-frequency commit workflows.
All reactions