IssueRaiser

Update on "Co-authored-by: Copilot" in commit messages

What happened? -------------- In 1.110, we added a setting to add Copilot as coauthor in commit messages by appending `Co-authored-by: Copilot copilot@github.com`. The setting `git.addAICoAuthor` has three different values: * `off` - no attribution no matter whether Copilot assisted or not with the code in this commit * `chatAndAgent` - add attribution if the commit contains code that was generated using the chat feature * `all` - add attribution if the commit contains any kind of AI-generated code (chat, inline completions, NES) The default value of the setting was `off`. In 1.117 (public rollout started 4/22), we changed the setting default to `all`. There was a bug in the code that was not found in testing that attributed non-Copilot code completions to Copilot. This resulted in commit messages containing `Co-authored-by: Copilot copilot@github.com` even when the `disableAIfeatures` setting was turned on. This issue is tracked in https://github.com/microsoft/vscode/issues/313064. Because of the bug, we changed the setting value to `chatAndAgent` in 1.118 (public rollout started 4/29). You can disable the functionality by explicitly turning the feature off in user settings: `"git.addAICoAuthor": "off"`. What is happening now? ---------------------- 1. We reverted the default for the AI attribution feature back to `off`. We also ensure that the feature is disabled when `disableAIFeatures` is set to true no matter the value of `git.addAICoAuthor`. This was done in htt

Posted by dmitrivMS on May 5, 2026, 1:35 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

github (Software)

Update on "Co-authored-by: Copilot" in commit messages

dmitrivMSMay 5, 2026, 1:35 AM

What happened? -------------- In 1.110, we added a setting to add Copilot as coauthor in commit messages by appending `Co-authored-by: Copilot copilot@github.com`. The setting `git.addAICoAuthor` has three different values: * `off` - no attribution no matter whether Copilot assisted or not with the code in this commit * `chatAndAgent` - add attribution if the commit contains code that was generated using the chat feature * `all` - add attribution if the commit contains any kind of AI-generated code (chat, inline completions, NES) The default value of the setting was `off`. In 1.117 (public rollout started 4/22), we changed the setting default to `all`. There was a bug in the code that was not found in testing that attributed non-Copilot code completions to Copilot. This resulted in commit messages containing `Co-authored-by: Copilot copilot@github.com` even when the `disableAIfeatures` setting was turned on. This issue is tracked in https://github.com/microsoft/vscode/issues/313064. Because of the bug, we changed the setting value to `chatAndAgent` in 1.118 (public rollout started 4/29). You can disable the functionality by explicitly turning the feature off in user settings: `"git.addAICoAuthor": "off"`. What is happening now? ---------------------- 1. We reverted the default for the AI attribution feature back to `off`. We also ensure that the feature is disabled when `disableAIFeatures` is set to true no matter the value of `git.addAICoAuthor`. This was done in htt

Comments (0)

No comments yet. Start the discussion.

Comment on this issue