Commitgen – 基于您暂存的差异,由 AI 生成的 Conventional Commit 提交信息

2作者: TheAary4 个月前
嘿,HN, 我构建这个工具是因为我总是写一些很敷衍的提交信息,比如“修复问题”和“更新”。 commitgen 会读取你暂存的 git diff,然后使用 Gemini 生成格式规范的 Conventional Commit 信息(feat/fix/refactor 等)。 它用 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.