GitHub Copilot silently inserts itself as a co-author after I manually replaced the generated commit message #194075
-
🏷️ Discussion TypeProduct Feedback 💬 Feature/Topic AreaVS Code BodyI want to report a serious issue with GitHub Copilot’s commit message generation workflow. GitHub Copilot inserted the following line into my Git commit message: Co-authored-by: Copilot copilot@github.com The most concerning part is that I had already checked the commit message before committing. I deleted Copilot’s generated English commit message and manually wrote my own commit message instead. However, after the commit was created, the final Git history still contained the Copilot co-author line. This means the message I reviewed before committing was not the final content that ended up in Git history, or Copilot/VS Code added co-author metadata after my manual edit. That is unacceptable in a professional development workflow. Commit metadata is part of the project’s accountability, review, deployment, and audit trail. Copilot only generated a commit message suggestion; it did not author the code. It should never silently add itself as a co-author, especially after the user manually replaces the generated message. This behavior is also inconsistent. It does not happen on every commit, which makes it behave like a random hidden trap. I only discovered it when checking recent Git commit history before deploying to a test environment. Please treat this as a product safety and trust issue, not a cosmetic issue. Requested changes: Make AI co-author attribution strictly opt-in. Never add Co-authored-by metadata unless the user explicitly confirms it. Provide a setting to permanently disable Copilot co-author attribution in commit messages. Ensure the commit message shown to the user before committing exactly matches the final message written to Git history. Clearly document when and why Copilot may add commit trailers or metadata.
|
Beta Was this translation helpful? Give feedback.
Replies: 40 comments 38 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. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
@yangyijie912 patch the SDK (here is my patch (with perl) for 0.45.1) #!/bin/bash
set -eu
if [ $# -ne 1 ]; then
echo "Usage: $0 path/to/@github/copilot/sdk/index.js"
exit 1
fi
file="$1"
perl -pi -e '
s/if\(!vr\(e,lXe\)\{/if(!vr(e,lXe) && e.includeCoAuthoredBy!==false){/;
s/if\(!n&&r.cwd&&vr\(e,lXe\)\)\{/if(!n&&r.cwd&&vr(e,lXe) && e.includeCoAuthoredBy!==false){/;
' "$file"
echo "Patched $file" |
Beta Was this translation helpful? Give feedback.
-
|
I've also been seeing this, it's rather annoying. |
Beta Was this translation helpful? Give feedback.
-
|
@aeltorio You're a genius 👍 🥇 |
Beta Was this translation helpful? Give feedback.
-
|
Go to settings and turn off the "Git: Add AI Co Author" setting. Or add this to your settings.json file:
|
Beta Was this translation helpful? Give feedback.
-
|
Why the heck would anyone who's still not fully done fighting past reputation crisis add this as a default setting, even for inline completions? |
Beta Was this translation helpful? Give feedback.
-
|
This 100% needs to be opt-in. Especially if you're going to replace intellisense and consider that a co-author. |
Beta Was this translation helpful? Give feedback.
-
|
Apart from marketing GitHub Copilot, what is the upside of this, for the developer that is? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Yeah this is actually a known behavior in VS Code, and it’s not coming from Git itself but from the Copilot integration. “git.addAICoAuthor”: false After disabling that, Copilot should stop adding the co authored by line entirely. |
Beta Was this translation helpful? Give feedback.
-
|
This is not right. Seems like they are operating in bad faith here, this should have been toggled off by default. |
Beta Was this translation helpful? Give feedback.
-
|
Or, at least have it on other option, and add coauthor if there are chat or agent edits. Having this added to ALL commits is crazy
…-------- Original Message --------
On Wednesday, 04/29/26 at 12:30 gk-volane ***@***.***> wrote:
This is not right. Seems like they are operating in bad faith here, this should have been toggled off by default.
—
Reply to this email directly, [view it on GitHub](#194075 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AUGCDIEBIGK56E5KPEJMVLT4YHDU3AVCNFSM6AAAAACYHMJXNKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMNZVGM4DQNA).
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Linus would absolutely tear this 'git.addAICoAuthor' feature a new one. The Linux community explicitly forbids using 'Co-authored-by' for AI tools or models; they insist on using 'Assisted-by' instead. |
Beta Was this translation helpful? Give feedback.
-
|
if anything its just a cheap way to insert your name into commit messages, probably idea from microslop |
Beta Was this translation helpful? Give feedback.
-
|
I now expect a practical tool for editing the commit text from VS |
Beta Was this translation helpful? Give feedback.
-
|
It's ridiculous that I only used autocomplete and it automatically inserts itself as a coauthor. Like seriously? |
Beta Was this translation helpful? Give feedback.
-
|
PR submitted: microsoft/vscode#313725 |
Beta Was this translation helpful? Give feedback.
-
|
Totally annoying. |
Beta Was this translation helpful? Give feedback.
-
|
Copilot is a co-author, so this code belongs to Copilot. That means they can use your code and sell it to others. |
Beta Was this translation helpful? Give feedback.
-
|
It's very ridiculous that this is even enabled by default, especially for users that have signed commits enabled. |
Beta Was this translation helpful? Give feedback.
-
|
The fun thing is that this trips up COA and similar legal guard rails for commits and committers. |
Beta Was this translation helpful? Give feedback.
-
|
Oh my bad. I missed the part where the blogpost only mentioned a "commitment to WINDOWS quality" How can a company in their right mind be so aware of the problems in one of their products while being so painfully unaware that an EQUALLY NAMED feature is causing THE SAME problems in another software they maintain. What happened? Was not everybody on board with the quality part?
How about you apply this to all other products as well. Assuming it was ever more than a bunch of fake promises to begin with that is |
Beta Was this translation helpful? Give feedback.
-
|
What do people think about Assisted-By trailer instead as suggested here: |
Beta Was this translation helpful? Give feedback.
-
|
I would prefer this "feature" be removed. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Why Is No One Pointing This Out?GitHub Copilot and AI Authorship: A Misattribution ProblemGitHub Copilot generates no AI content — the underlying models do the work. This is a broader misattribution, and a false claim on its face. |
Beta Was this translation helpful? Give feedback.
-
|
FYI - we have posted more details on what happened and some analysis here: |
Beta Was this translation helpful? Give feedback.
-
|
That's good |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
How much Attribution should be given to AINot every contributor to a project ALWAYS gets attribution. Does Everyone get AttributionIn my office we are viewing AI in some ways as we would view another co-worker. We must train the co-worker, and for AI we must ensure re-training occurs for every session. We must oversee the co-workers work, and AI work must be reviewed and validated. We compensate the coworker based on mutually agreed terms, and there is money paid to utilize most AI models, or there is no payment required - which is a valid contract. Does a Contractor get AttributionAnother parallel, perhaps even more appropriate, is a scenario where a contractor is hired to assist for a specified purpose. The contractor, having no long-term affiliation with the company, has zero expectation for attribution or ownership of intellectual property. Ownership ClaimsMost important, just because a co-worker, or a contractor, worked on a project does not offer the person any claim of ownership for the work that is actually owned by the company. If I have a subscription from Github, Anthropic or anyone else, to use their tools, then there is a contract in place that governs the use of those tools. The vendors have pre-approved the tool use for specified renumeration. Are we signing away a portion of our intellectual property rights to works just because of the tool used to complete the works? I would hope not. AI is a ToolNotepad is a tool. VS Code is a tool. Other IDE's are tools. ----I have been involved in software development for over 40 years. I have seen the evolution of tools to aid in the creation of work products. This has not been limited to software development. I suggest we all take deep breathe.... This post is attributed to Richard Hancock - thats all! |
Beta Was this translation helpful? Give feedback.



Go to settings and turn off the "Git: Add AI Co Author" setting.
Or add this to your settings.json file:
"git.addAICoAuthor": "off"