> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Typical Microsoft! Turns Out VS Code Was Adding Copilot as a Git Co-Author Without Telling Anyone
- URL: https://itsfoss.com/news/vs-code-credits-copilot-for-human-work/
- Published: 2026-05-05T10:35:42.000Z
- Updated: 2026-05-05T10:35:42.000Z
- Description: Microsoft reversed the change after developers found the AI attribution line appearing even with Copilot disabled.
- Author: Sourav Rudra
- Tags: News

[VS Code](https://code.visualstudio.com/?ref=itsfoss.com) has been quietly appending a `Co-authored-by: Copilot` line to users' git commits, including ones written entirely without [Copilot](https://code.visualstudio.com/docs/copilot/overview?ref=itsfoss.com)'s involvement.

The culprit behind this, `git.addAICoAuthor`, is a feature that was introduced in [VS Code 1.110](https://code.visualstudio.com/updates/v1%5F110?ref=itsfoss.com) back in March. It is designed to tag commits with a Copilot co-author trailer when AI-generated code is involved, and it launched with `off` as the default.

*So far good, right?* 🙂

That changed in April, when [Courtney Webster](https://github.com/cwebster-99?ref=itsfoss.com), a Product Manager at Microsoft, submitted [a pull request](https://github.com/microsoft/vscode/pull/310226?ref=itsfoss.com) that changed one thing, the default value of `git.addAICoAuthor` [from *off* to *all*](https://github.com/microsoft/vscode/pull/310226/commits/cfcebf4e9925a66a04988efc9e59ac7ea4c61dbd?ref=itsfoss.com).

The PR was reviewed and merged by VS Code team member [Dmitriy Vasyura](https://github.com/dmitrivMS?ref=itsfoss.com) on April 16, without a release note or any kind of user-facing notification.

![a github screenshot that shows a merged pull request titled, "enabling ai co author by default"](https://itsfoss.com/content/images/2026/05/enable-copoilot-by-default-vscode.png)

The `all` setting is the broadest option available for `git.addAICoAuthor`, which added the Copilot trailer to every commit involving any AI interaction, including inline completions.

With the default flipped to `all`, anyone who had not manually configured the setting **was suddenly getting Copilot credited in their git history**.

Things got messier from there. Developers [reported](https://github.com/microsoft/vscode/pull/310226?ref=itsfoss.com#issuecomment-4322105211) that the credit info (*trailer*) was appearing even with `chat.disableAIFeatures` set to `true`. The [trailer](https://git-scm.com/docs/git-interpret-trailers?ref=itsfoss.com) is also appended after the commit finalizes, not appearing in VS Code's commit message editor beforehand, so there was no window to catch and remove it before it showed up in git history.

One developer replaced Copilot's generated commit message [with one they wrote themselves](https://github.com/orgs/community/discussions/194075?ref=itsfoss.com), committed, and still found the Copilot co-author line sitting in their log.

But fret not, as [the fix has been delivered](https://github.com/microsoft/vscode/commit/d6c8e297aaca24517348fc1af11517a49e544320?ref=itsfoss.com).

## The Fix

![a small screenshot that shows an apology post by dmitriy vasyura who had enabled copilot attribution by default on vscode](https://itsfoss.com/content/images/2026/05/dmitriy-vasyura-apology-over-copilot.png)

**Dmitriy's apology over on* [**HackerNews*](https://news.ycombinator.com/item?id=47991835&ref=itsfoss.com)**.*

Dmitriy, the VS Code team member who merged the original PR, came forward on [Hacker News](https://news.ycombinator.com/item?id=47991835&ref=itsfoss.com) over the weekend under the username *dmitriv*, specifically to address the fallout.

Identifying himself as the person who approved the change, Dmitriy said that he was sorry for mistakenly turning on this feature by default without sufficient scrutiny.

Also clarifying the following before the conspiracy theories started emerging:

> There was no ill intent by evil corporation, but rather a desire to support functionality that some customers expect of VS Code w.r.t. AI-generated code. As folks mentioned here - many similar tools do this as well.

The fix, now live on VS Code's GitHub repo as [PR #313931](https://github.com/microsoft/vscode/pull/313931?ref=itsfoss.com), reverts `git.addAICoAuthor` back to `off` by default and corrects the detection issue that caused the trailer to appear even when Copilot was not in use.

You can expect this change to land with the upcoming **VS Code 1.119 release**.

*Via:* [*The Register*](https://www.theregister.com/2026/05/04/microsoft%5Freverses%5Fai%5Fcredit%5Fgrab/?ref=itsfoss.com)