← 回總覽

Claude Code 关闭 co-author 的配置技巧

📅 2026-03-22 01:40 宝玉 人工智能 2 分鐘 1629 字 評分: 78
Claude Code Git 配置技巧 AI 编程工具
📌 一句话摘要 通过在 ~/.claude/settings.json 中添加配置项,可以关闭 Claude Code 默认添加 co-author 的行为。 📝 详细摘要 针对之前关于 Claude Code 自动在 git commit 中添加 co-author 而 Codex 不会的讨论,宝玉分享了一个实用技巧:通过在配置文件中添加特定设置项,可以取消默认添加 co-author 的行为。推文附上了配置说明的截图和官方文档链接。这是一个针对 Claude Code 用户的实用配置优化。 📊 文章信息 AI 评分:78 来源:宝玉(@dotey) 作者:宝玉 分类:人工智能 语言:
![Image 1: 宝玉](https://www.bestblogs.dev/en/tweets?sourceId=SOURCE_2c263f)

!Image 2: Tweet image

!Image 3: Yuchen Jin

#### Yuchen Jin

@Yuchenj_UW · 2d ago

I noticed something interesting: Claude Code auto-adds itself as a co-author on every git commit. Codex doesn’t.

That’s why you see Claude everywhere on GitHub, but not Codex.

I wonder why OpenAI is not doing that. Feels like an obvious branding strategy OpenAI is skipping.

273

41

2,140

462.4K

12 Replies

15 Retweets

176 Likes

23.2K Views ![Image 4: 宝玉](https://www.bestblogs.dev/en/tweets?sourceid=2c263f)

One Sentence Summary

You can disable Claude Code's default co-author addition behavior by adding configuration items to ~/.claude/settings.json.

Summary

In response to the earlier discussion about Claude Code automatically adding itself as a co-author on every git commit while Codex doesn't, Baoyu (宝玉) shares a practical tip: you can disable the default co-author addition behavior by adding specific settings in the configuration file. The tweet includes a screenshot of the configuration and a link to the official documentation. This is a useful configuration optimization for Claude Code users.

AI Score

78

Influence Score 55

Published At Yesterday

Language

Chinese

Tags

Claude Code

Git

Configuration Tips

AI Programming Tools

查看原文 → 發佈: 2026-03-22 01:40:35 收錄: 2026-03-22 04:00:29

🤖 問 AI

針對這篇文章提問,AI 會根據文章內容回答。按 Ctrl+Enter 送出。