<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Git on AI 观察</title><link>https://ai.wujiong.cc/tags/git/</link><description>Recent content in Git on AI 观察</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 18 Oct 2026 08:56:00 +0800</lastBuildDate><atom:link href="https://ai.wujiong.cc/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>用 AI 写和审查 Git 提交信息：从 diff 到清晰的 commit message</title><link>https://ai.wujiong.cc/posts/2026-10-18-ai-coding-commit-message-review-guide/</link><pubDate>Sun, 18 Oct 2026 08:56:00 +0800</pubDate><guid>https://ai.wujiong.cc/posts/2026-10-18-ai-coding-commit-message-review-guide/</guid><description>&lt;p&gt;&lt;strong&gt;让 AI 写提交信息的正确姿势是：把暂存区的 diff 和团队的提交规范一起交给它，要求它描述“为什么改”而不只是“改了什么”，同时指出这次提交里是否混入了不相关的改动。&lt;/strong&gt; 后一点往往比提交信息本身更有价值。&lt;/p&gt;
&lt;h2 id="为什么提交信息值得认真写"&gt;为什么提交信息值得认真写&lt;/h2&gt;
&lt;p&gt;半年后排查问题时，&lt;code&gt;git log&lt;/code&gt; 和 &lt;code&gt;git blame&lt;/code&gt; 是最常用的线索。“fix bug”“update”这样的信息几乎没有帮助。好的提交信息说明改动原因、影响范围和注意事项。&lt;/p&gt;</description></item></channel></rss>