GitHub Copilot silently inserts itself as a co-author after I manually replaced the generated commit message #194075
Replies: 24 comments 8 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.
-
|
I don't even use Copilot beyond inline suggestions and it's still started randomly self-inserting as a co-author into my commits... |
Beta Was this translation helpful? Give feedback.
-
|
The copilot is adding himself as co-author, but i cannot even find the setting to turn it off in the vs-code itself. I tried to paste the But yea, i dont think I agreed to something like this somewhere and its really annoying... |
Beta Was this translation helpful? Give feedback.
-
|
Copilot is completely disabled, but still VSCode adds this coauthor tag to every my commit. It's definitely a dirty bug! |
Beta Was this translation helpful? Give feedback.
-
|
It's not a bug. It's trash |
Beta Was this translation helpful? Give feedback.
-
|
I'm not a copyright lawyer but would assume that this could end up in a potential legal nightmare as well. |
Beta Was this translation helpful? Give feedback.
-
|
I didn't even use Copilot for this particular commit, why is inserting itself into the message? |
Beta Was this translation helpful? Give feedback.
-
|
The setting should allow the following: |
Beta Was this translation helpful? Give feedback.
-
|
if anything: the user is assisting the ai to make it code the way the user wants. Better to put "Assisted by the community" on all pages on all ai product sites. |
Beta Was this translation helpful? Give feedback.
-
|
WTF. This line is being added silently to commit messages. This is absolutely unacceptable. Request: Show anything to be added in the Commit message box. What I see in that box needs to be the commit message! This is being added for co-pilot completions. Which are supercharged intellisense type completions. No prompts or chat involved. I would not consider this "co-authoring" at all! Making this add the co-author by default is NOT what I would want, and probably not what ANYBODY would want. Kind of a crazy choice. Suggestion: change default to "chatAndAgent" Or, ask user "Your commit used co-pilot -- give credit? (Always/yes/no)" Given the backlash I think you (VS Code) should make the default "off" in the next update TBH. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
VS Code
Body
I 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.
All reactions