VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
- Notifications You must be signed in to change notification settings
- Fork 39.6k
- Star 184k
Conversation
cwebster-99
commented
Apr 15, 2026
No description provided.
vs-code-engineering
Bot
commented
Apr 15, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @lszomoruMatched files:
|
Copilot AI left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR changes the Git extension’s git.addAICoAuthor setting so that AI co-author trailers are enabled by default, making the default behavior automatically add a Co-authored-by trailer when AI-generated code contributions are detected.
Changes:
- Updates git.addAICoAuthor configuration default from "off" to "all".
| File | Description |
|---|---|
| extensions/git/package.json | Switches the default value of git.addAICoAuthor to enable AI co-author trailers by default. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 1
| ], | ||
| "scope": "resource", | ||
| "default": "off", | ||
| "default": "all", |
Copilot AI Apr 15, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration schema default was changed to "all", but the runtime fallback in extensions/git/src/repository.ts still calls config.get('addAICoAuthor', 'off'). This is now out of sync and can lead to unexpected behavior in contexts where the contributed configuration defaults aren't loaded (e.g., some tests/hosts), and it makes the intended default unclear. Update the runtime fallback to match the schema default (or omit the fallback so the contributed default is used).
Suggested change| "default": "all", | |
| "default": "off", |
github-actions
Bot
commented
Apr 15, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rgs2151 commented Apr 25, 2026
|
Why in the world would you default this! 😡 |
anonymni-hlasatel commented Apr 25, 2026
|
Wth.. makeing this default behaviour and not notifying users is crazy |
flying-sheep commented Apr 26, 2026
|
please revert until it actually works. I have "chat.disableAIFeatures": true and co-authored by copilot still gets inserted into most commits. This is absolutely unacceptable. |
edenchazard commented Apr 26, 2026
|
Any explanation for the choice to make this default? Now I know why random commits of mine were suddenly being "co-authored by copilot" despite not using copilot with that commit. I just don't get the point of this at all. |
jamiejcole
commented
Apr 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
This is absolutely ridiculous and should not at all be defaulted. Especially when not using Copilot whatsoever. |
marxoffice
commented
Apr 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
So the logic here was: "Let's inject our own name into every commit, even for users who never used Copilot, and ship it as a silent default." Who thought that was okay? It's vandalism. Shameful. Update: I can personally confirm this: on multiple recent commits I hand-wrote every commit message and never touched Copilot while coding, yet there it is — Co-authored-by: Copilot copilot@github.com — injected anyway. At the very least, people who write their own commit messages in the vscode git UI deserve WYSIWYG. That's the bare minimum of respect for the user. |
ringoz commented Apr 28, 2026
|
I am not using copilot, I have "chat.disableAIFeatures" and co-authored by copilot still gets inserted into commits. |
cloudyluna commented May 2, 2026
|
what the hell |
gabereiser commented May 2, 2026
|
I guess when no one uses your service, you have to pretend people are by adding it to commit messages without their knowledge. Whether they used it or not. This is exactly why Microsoft can’t be trusted with your code, your commits, or your SDLC. |
0xku commented May 2, 2026
|
I was warming up to zed. Stuff like this leaves me no choice but switch completely. |
gokaygurcan commented May 2, 2026
|
sigh.. lemme add "git.addAICoAuthor": "off" in my config file and get it done with. thank you micros~1. |
GerardoSuarezRamos commented May 2, 2026
|
Cursor handles this differently — there's no automatic attribution because the workflow assumes you're reviewing every diff before commit. The author is whoever ran git commit, full stop. The Microsoft approach feels off because it conflates "I used the editor" with "I co-authored this," which devalues the signal that Co-Authored-by is supposed to carry. |
snehesht
commented
May 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Why force this on unsuspecting users, I guess Zed 1.0 will see better adoption. Congrats, you've made it to HN1 front page and not in a good light if I might add. Footnotes |
whitequark commented May 2, 2026
|
Quick question: what the fuck is wrong with you? |
opticaldrive
commented
May 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
This is dumb? Oh well. Time to figure out how to properly use vim and zed . |
SpriteOvO commented May 2, 2026
|
When I see this, I realize it's time to move to Zed completely, at this perfect timing -- they just released version 1.0, and best of all, it has a single option to disable all AI features globally. Goodbye VSC. |
FlykeSpice
commented
May 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Microsoft flushing all the reputation they tried to recover by "embracing" the open-source community down the toilet. We were the frogs giving the scorpion Microslop another chance riding on our backs, but they never let go of their true nature. |
opticaldrive commented May 2, 2026
|
Zed is very nice and we should all just move to it now. |
claudiug commented May 2, 2026
|
just use https://zed.dev/ |
TeriyakiBomb commented May 2, 2026
|
Jesus, what is this?! It's times like this I'm so glad I dumped VSCode years ago. Zed is good, Neovim is good, Helix is good, Kakoune is good. There are choices people. Sack this shite application off. |
slackline commented May 2, 2026
|
Perhaps a good reason to seek out a different IDE. FOSS software is a good choice in this regard. I use Emacs myself. |
woctezuma commented May 2, 2026
|
🍿 |
ArmanJR commented May 2, 2026
|
back in 2009 I used windows to buy a software engineering book from amazon. go ahead add Co-Authored-by Bill Gates to my PRs. come on i'm waiting. |
mateolafalce commented May 2, 2026
|
Average PM 🤡 |
yzqzss commented May 2, 2026
|
Uninstalling, good bye, I'll never switch back to the M$ slop editor. |
ikidd commented May 2, 2026
|
Do they give you the lobotomy before your initial job orientation at Microsoft, or after? I wonder if you have to use up vacation days for the recovery time. |
alxndr42 commented May 2, 2026
|
Slopya Nadella likes this. |
Atulin commented May 2, 2026
|
What in the actual fuck? |
lisanna-dettwyler commented May 2, 2026
|
This is batshit insane |
ImKventis commented May 2, 2026
|
misplay |
ItsMrCube commented May 2, 2026
|
This is insanity, please revert |
Labels
None yet20 participants
Схожі новини
Понад 1000 окупантів і новий показник у знищеній техніці: які втрати Росії на 3 травня
Назавжди 38 років: на Сумщині попрощалися з поліцейським Михайлом Шовкоплясом
Яке церковне свято у неділю, 3 травня: хто сьогодні має іменини