How to turn off signature in VS Code Copilot AI: remove Co-Authored-by with one line of command
Does GitHub Copilot automatically add AI signature to every commit? Three shutdown methods (settings panel/settings.json/project level), verification steps, and why to shut down.
Beginner · 5 min · May 31, 2026
Problem Scenario
Starting in 2026, GitHub Copilot in VS Code will automatically add Co-authored-by: GitHub Copilot to the commit message in every AI-assisted code submission. This creates problems for open source project maintainers and developers who don’t want to expose traces of their AI usage.
Good News: This feature can be turned off and only requires one line of configuration.
Three closing methods
Method 1: VS Code settings panel (recommended, the simplest)
- Open VS Code
Cmd/Ctrl + ,Open settings- Search for
copilot co-authored - Uncheck
GitHub › Copilot: Co Authored By Enabled - Restart VS Code
Method 2: Modify settings.json directly
In VS Code Cmd/Ctrl + Shift + P → Search for Preferences: Open User Settings (JSON), add:
{
"github.copilot.coAuthoredBy.enabled": false
}方式三:项目级覆盖(团队适用)
在项目根目录的 .vscode/settings.json 中:
{
"github.copilot.coAuthoredBy.enabled": false
}这样只影响当前项目,其他项目不受影响。
验证是否关闭成功
创建一个测试文件,用 Copilot 生成一些代码,然后 git add + git commit。检查 commit message:
git log -1 --format='%B'如果输出中不包含 Co-authored-by: GitHub Copilot,说明关闭成功。
为什么 GitHub 要加这个功能
GitHub 的官方说法是为了"透明度和代码溯源"。但从社区反馈来看,很多开发者不希望在开源项目中暴露 AI 辅助的痕迹——尤其是在一些对 AI 生成代码有争议的项目中。
更重要的是:如果你使用 Copilot 做大量自动化编码(AI Agent 模式),每次 commit 都带 AI 署名会让 commit 历史看起来很奇怪。
替代方案:如果你真的需要透明性
如果你认同 AI 署名理念,但想用更优雅的方式,可以自定义署名格式:
# 在 git commit 时手动指定
git commit -m "feat: add user auth" -m "Co-authored-by: AI Assistant <ai@example.com>"Or automatically add signatures through git hooks in tools such as Claude Code and Codex.
Tool entry
GitHub Copilot, Claude Code, Codex, VS Code.
Next step
- Immediately turn off unnecessary AI signatures
- If you are a team manager, discuss a unified signature strategy with your team
- Consider using Claude Code + DeepSeek V4 as an alternative (no mandatory signature)
Related reading
-
The Complete Guide to GitHub Copilot Pricing 2026
-
DeepSeek V4 vs Claude Code actual test comparison
-
How to use AI Agent to realize automated coding workflow
Related tutorials
AI Coding Agents Complete Guide: Setup, Security, Workflow & Case Studies
If you are researching AI coding agents and want to know which one to use, how to set it up safely, and what real developers are building with them — this hub organizes every tutorial, case study, and comparison we have published. Start with the decision guide below to find the right path for your skill level and goals.
AI Micro SaaS FAQ: 25 Common Questions Answered (2026)
Everything you need to know about building and profiting from AI Micro SaaS products. This FAQ covers idea generation, tech stack choices, pricing strategy, marketing on a $0 budget, legal considerations, and scaling from $100 to $10K MRR. Based on real case studies and data from successful solo builders using Claude Code, Cursor, and other AI coding tools.
Topic hub
AI Coding Tools Hub (2026)
From Copilot pricing changes to Claude Code + DeepSeek cost-saving setups—one place to compare tools, read explainers, and follow tutorials.
Explore AI Coding Tools Hub (2026) →Monetization angle
How can you make money from this trend?
WayToClawEarn focuses on verified earn playbooks—not just news. Start from these cases.
AI code review & spec-driven agency
Offer migration consulting as Copilot pricing shifts
Claude Code 48h Micro SaaS
Validate products fast with a low-cost agent stack