{"id":27797,"date":"2026-05-05T11:12:16","date_gmt":"2026-05-05T11:12:16","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/27797\/"},"modified":"2026-05-05T11:12:16","modified_gmt":"2026-05-05T11:12:16","slug":"typical-microsoft-turns-out-vs-code-was-adding-copilot-as-a-git-co-author-without-telling-anyone","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/27797\/","title":{"rendered":"Typical Microsoft! Turns Out VS Code Was Adding Copilot as a Git Co-Author Without Telling Anyone"},"content":{"rendered":"<p>              <a href=\"https:\/\/www.warp.dev?utm_source=its_foss&amp;utm_medium=display&amp;utm_campaign=linux_launch\" target=\"_blank\" rel=\"nofollow noopener\"><img decoding=\"async\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/05\/warp.webp\" alt=\"Warp Terminal\"\/><\/a><\/p>\n<p><a href=\"https:\/\/code.visualstudio.com\/?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">VS Code<\/a> has been quietly appending a Co-authored-by: Copilot line to users&#8217; git commits, including ones written entirely without <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/overview?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">Copilot<\/a>&#8216;s involvement.<\/p>\n<p>The culprit behind this, git.addAICoAuthor, is a feature that was introduced in <a href=\"https:\/\/code.visualstudio.com\/updates\/v1_110?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">VS Code 1.110<\/a> 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.<\/p>\n<p>So far good, right? \ud83d\ude42<\/p>\n<p>That changed in April, when <a href=\"https:\/\/github.com\/cwebster-99?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">Courtney Webster<\/a>, a Product Manager at Microsoft, submitted <a href=\"https:\/\/github.com\/microsoft\/vscode\/pull\/310226?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">a pull request<\/a> that changed one thing, the default value of git.addAICoAuthor <a href=\"https:\/\/github.com\/microsoft\/vscode\/pull\/310226\/commits\/cfcebf4e9925a66a04988efc9e59ac7ea4c61dbd?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">from off to all<\/a>.<\/p>\n<p>The PR was reviewed and merged by VS Code team member <a href=\"https:\/\/github.com\/dmitrivMS?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">Dmitriy Vasyura<\/a> on April 16, without a release note or any kind of user-facing notification.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/05\/enable-copoilot-by-default-vscode.png\" class=\"kg-image\" alt=\"a github screenshot that shows a merged pull request titled, &quot;enabling ai co author by default&quot;\" loading=\"lazy\" width=\"1242\" height=\"826\"  \/><\/p>\n<p>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.<\/p>\n<p>With the default flipped to all, anyone who had not manually configured the setting was suddenly getting Copilot credited in their git history.<\/p>\n<p>Things got messier from there. Developers <a href=\"https:\/\/github.com\/microsoft\/vscode\/pull\/310226?ref=itsfoss.com#issuecomment-4322105211\" rel=\"nofollow noopener\" target=\"_blank\">reported<\/a> that the credit info (trailer) was appearing even with chat.disableAIFeatures set to true. The <a href=\"https:\/\/git-scm.com\/docs\/git-interpret-trailers?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">trailer<\/a> is also appended after the commit finalizes, not appearing in VS Code&#8217;s commit message editor beforehand, so there was no window to catch and remove it before it showed up in git history.<\/p>\n<p>One developer replaced Copilot&#8217;s generated commit message <a href=\"https:\/\/github.com\/orgs\/community\/discussions\/194075?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">with one they wrote themselves<\/a>, committed, and still found the Copilot co-author line sitting in their log.<\/p>\n<p>But fret not, as <a href=\"https:\/\/github.com\/microsoft\/vscode\/commit\/d6c8e297aaca24517348fc1af11517a49e544320?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">the fix has been delivered<\/a>.<\/p>\n<p>The Fix<img decoding=\"async\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/05\/dmitriy-vasyura-apology-over-copilot.png\" class=\"kg-image\" alt=\"a small screenshot that shows an apology post by dmitriy vasyura who had enabled copilot attribution by default on vscode\" loading=\"lazy\" width=\"1619\" height=\"373\"  \/>Dmitriy&#8217;s apology over on <a href=\"https:\/\/news.ycombinator.com\/item?id=47991835&amp;ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">HackerNews<\/a>.<\/p>\n<p>Dmitriy, the VS Code team member who merged the original PR, came forward on <a href=\"https:\/\/news.ycombinator.com\/item?id=47991835&amp;ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">Hacker News<\/a> over the weekend under the username dmitriv, specifically to address the fallout.<\/p>\n<p>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.<\/p>\n<p>Also clarifying the following before the conspiracy theories started emerging:<\/p>\n<p>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 &#8211; many similar tools do this as well.<\/p>\n<p>The fix, now live on VS Code&#8217;s GitHub repo as <a href=\"https:\/\/github.com\/microsoft\/vscode\/pull\/313931?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">PR #313931<\/a>, 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.<\/p>\n<p>You can expect this change to land with the upcoming VS Code 1.119 release.<\/p>\n<p>Via: <a href=\"https:\/\/www.theregister.com\/2026\/05\/04\/microsoft_reverses_ai_credit_grab\/?ref=itsfoss.com\" rel=\"nofollow noopener\" target=\"_blank\">The Register<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"VS Code has been quietly appending a Co-authored-by: Copilot line to users&#8217; git commits, including ones written entirely&hellip;\n","protected":false},"author":2,"featured_media":27798,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[420,7853,416,320,7852],"class_list":{"0":"post-27797","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-microsoft","8":"tag-azure","9":"tag-azure-copilot","10":"tag-copilot","11":"tag-microsoft","12":"tag-microsoft-copilot"},"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/27797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=27797"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/27797\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/27798"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=27797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=27797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=27797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}