Commitgen – 从您的暂存差异中生成的 AI 生成的传统提交信息

2作者: TheAary大约 1 个月前原帖
嘿,HN, 我开发这个工具是因为我总是写一些懒散的提交信息,比如“修复问题”和“更新”。commitgen 会读取你暂存的 git 差异,并使用 Gemini 返回一个格式正确的符合规范的提交信息(如 feat、fix、refactor 等)。 这个工具在 CLI 端使用 C++ 编写,后端则使用 Vercel 无服务器架构。支持 Windows 和 Linux,以及 zsh 和 fish。 我很想听听大家对这个方法的反馈。特别好奇大家是否希望优先支持 macOS。 这个工具会随着后续更新而变得更好。
查看原文
Hey HN, Built this because I kept writing lazy commit messages like "fix stuff" and "update". commitgen reads your staged git diff and returns a properly formatted Conventional Commit message (feat/fix/refactor etc) using Gemini. Written in C++ on the CLI side, Vercel serverless for the backend. Windows and linux supported along with zsh and fish Would love feedback on the approach. Especially curious if people would want macOS support first. This will get better with further updates.