最新资讯
www.infoq.com GitLab 19.5 将 Agentic 开发纳入 DevOps 平台的治理体系 dev.to 在信任 AI 生成的测试用例前,如何逐条复核 unite.ai Franklin Templeton 构建 AI 研究工作流以揭示风险 techxplore.com AI 助力寻找更优的钛合金 3D 打印工艺参数 engadget.com Perplexity 推出“teammates”日常工作任务 AI agent computerworld.com 别提数据中心:OpenAI 改称“compute campuses” theguardian.com 俄美试图阻止就自主武器制定具有约束力的规则 bloomberg.com Nvidia 加强东南亚芯片追踪以打击走私 thestack.technology 模型路由需求升温,Agent Router 推出开源替代方案 www.youtube.com Google DeepMind 的 Philipp Schmid:AI 同事需要具备的七个要素 unite.ai Cashfree 为 AI Agent 的托管结账加入 WebMCP 工具 dev.to 我们在 DolphinBench 上测试记忆检索:纯关键词搜索暴露了自身回归
多元动态
登录 注册
智能体 simonwillison.net · @Simon Willison's Weblog

commit-rewriter 0.1:用于清理 commit message 的小工具

原文 我的收藏

Simon Willison 发布 commit-rewriter 0.1,一个用于编辑仓库 commit message 的 Web 小工具,起因是 Datasette 安全发布中初始提交含编码 Agent 产生的冗余内容和私有仓库 issue 引用。可通过 uvx commit-rewriter path/to/repo 运行;提交修改后会创建带时间戳的分支以便回滚,并重写从首个被编辑提交到最新的所有提交。

AI推荐理由 Simon Willison 发布开源小工具 commit-rewriter 0.1,用于编辑仓库的 commit message,起因是 Datasette 安全发布中初始提交含编码 Agent 产生的冗余内容和私有仓库 issue 引用。工具通过 uvx 运行,提交修改后会创建带时间戳的分支以便回滚,再重写从首个被编辑提交到最新的所有提交。对使用编码 Agent 的开发者有实际用途,属一手发布信息。

68

正文

**Release:** [commit-rewriter 0.1](https://github.com/simonw/commit-rewriter/releases/tag/0.1) I built this little web app the other day to help edit the commit messages for the [Datasette security releases](https://datasette.io/blog/2026/september-security-releases/). The initial commits were full of coding agent cruft and references to issue IDs from our private repository, so they weren't fit for publication. If you want to edit the commit messages for a repository you can run it like this: ``` uvx commit-rewriter path/to/repo ``` Omit the path if you are already in the directory for that repo. ![Screenshot of the commit-rewriter web interface. A heading reads commit-rewriter above the repository path and current branch and commit hash, with a short description of the tool. A toolbar shows a pending edits count with Discard drafts and Rewrite commit messages buttons, followed by a search box for message, author, or hash and an Edited only checkbox. A left sidebar titled Navigate commits lists recent commit messages with their short hashes. The main panel shows a card for each commit with its hash, author and timestamp, an editable text area containing the commit message, and a View full formatted diff toggle.](https://static.simonwillison.net/static/2026/commit-rewriter.webp) When you submit your edits the tool creates a timestamped branch of your current repo state - to allow you to revert if you need to - and then rewrites every commit from the first one you edited to the most recent. Tags: [git](https://simonwillison.net/tags/git), [projects](https://simonwillison.net/tags/projects), [python](https://simonwillison.net/tags/python), [ai-assisted-programming](https://simonwillison.net/tags/ai-assisted-programming)

来源报道 · 4 篇 · 以下链接均前往原始媒体

opmlrss::Simon Willison's Weblog commit-rewriter 0.1:用于清理 commit message 的小工具 09-14 · 原文发布
rss::Simon Willison's Weblog commit-rewriter 0.1:用于清理 commit message 的小工具 09-14 · 原文发布
Simon Willison's Weblog commit-rewriter 0.1:用于清理 commit message 的小工具 09-14 · 原文发布
← 返回精选动态 原文

更多内容