返回全部动态

Simon Willison 发布 commit-rewriter 0.1 提交信息编辑工具

原标题:commit-rewriter 0.1

Simon Willison's Weblog开源质量 50

AI 摘要

Simon Willison 发布了一个名为 commit-rewriter 0.1 的小型 Web 应用,用于编辑 Git 仓库的提交信息。该工具最初是为了清理 Datasette 安全版本发布中带有编码代理痕迹和私有仓库 issue ID 的提交记录。用户可通过 uvx commit-rewriter path/to/repo 运行,提交编辑后工具会创建带时间戳的分支以便回滚,并重写从首个被编辑提交到最新提交之间的所有提交。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

14th September 2026 I vibe-coded this little web app the other day to help edit the commit messages for the Datasette 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. When you submit your edits the tool


发布时间:2026-09-14 08:28
抓取时间:2026-09-14 08:42
来源机构:Simon Willison
阅读原文simonwillison.net