Back to home

Compare

Comparing: Git Commits Exposing AI Use? Disable This VS Code Setting & 你的代码提交记录正悄悄标注AI协作 — 这个免费设置帮你关掉

AEN
vscodecopilotindie hacker·

Git Commits Exposing AI Use? Disable This VS Code Setting

The Scene

Last week, while delivering a project, the client scrolled through my git commit history and asked: 'Did AI write this for you?'

What's Happening + Who Got Stuck

VS Code recently introduced a frustrating behavior: whether or not we actually used GitHub Copilot, it automatically adds a 'Co-Authored-by Copilot' line to our saved commit records. It's like every time we commit code, the system signs AI's name for us.

Last month, Lin Xiao, a solo developer at a coworking space in Tianhe, Guangzhou, had just delivered a cross-border e-commerce mini-program. Her client checked the commit history, saw the Copilot credits all over, and directly questioned her professional ability: 'Did you write this code, or did AI?' In reality, she hadn't even turned Copilot on that day. I also got stuck here—once, a client saw the AI co-author tag in the commits and straight up asked if I relied entirely on AI to write it. It took me ages of explaining to clear up the doubts.

Replicate Cost Today

Money: $0 / Time: 2 minutes / Technical barrier: Just know how to use the VS Code settings page / First step: Open VS Code, press Ctrl+, (Cmd+, on Mac), search for 'git.coAuthoredBy', and uncheck it. Not everyone needs this setting—if I never show my commit history to anyone, it's fine to skip it. But if clients can see these records when delivering projects, I find it worth taking 2 minutes to turn it off.

Advice by Stage

For those just starting out with VS Code: I'd check this setting right now, saving myself from awkward delivery moments later.

For those with 1-2 clients already delivering projects: I'd check historical commits for the Copilot co-author tag, and proactively explain it to clients if necessary.

For those scaling up with a small team: I'd add this setting to our team guidelines so new members don't step into the same trap.

Source: github.com
BZH
vscodecopilot独立开发者·

你的代码提交记录正悄悄标注AI协作 — 这个免费设置帮你关掉

工作场景钩子

上周交付项目,客户翻了我的代码提交记录问:'这活儿是 AI 帮你写的吧?'

这设置是什么 + 谁已经踩过坑

VS Code 最近有个让人头疼的行为:不管你这次写代码有没有用到 GitHub Copilot(一个 AI 写代码助手),它都会在你保存的代码记录里自动加上一行 'Co-Authored-by Copilot'。相当于你每提交一次代码,系统就帮 AI 署名一次。

林晓上个月在广州天河的共享办公空间,刚交付一个跨境电商小程序,客户翻看代码提交历史,看到满屏的 Copilot 署名,直接质疑她的专业能力——'这些代码到底是你写的还是 AI 写的?'其实那天她根本没开 Copilot。我也卡过——有次客户看到提交记录里的 AI 署名,直接问我是不是全靠 AI 写的,解释了半天才消掉疑虑。

你今天复刻成本

钱:0 元 / 时间:2 分钟 / 技术门槛:会用 VS Code 的设置页面就行 / 第一步:打开 VS Code,按 Ctrl+,(Mac 是 Cmd+,)搜索 'git.coAuthoredBy',把勾选关掉。这个设置不是所有人都需要——如果你从不给别人看代码提交记录,现在不试也没事。但如果你交付项目时客户能看到这些记录,建议花 2 分钟关掉。

分人群建议

如果你刚起步,刚开始用 VS Code 做项目,我会建议现在就去检查这个设置,省得以后交付时尴尬。

如果你有 1-2 个客户,已经在交付项目,我会建议检查一下历史提交记录有没有 Copilot 署名,必要时主动跟客户解释一下。

如果你在扩规模,带小团队协作,我会建议把这个设置写进团队规范,避免新成员踩同样的坑。

Source: github.com