ai-commit

Weekly Pick

一个使用AI自动生成约定式git提交信息的工具,支持多种生成器驱动如Bito Cli、ERNIE-Bot、GitHub Copilot CLI等,简化提交信息编写流程。

Check out ai-commit on CurateClick
Embed code
<a href="https://curateclick.com/product/1045?utm_source=embed-badge&utm_medium=embed&utm_campaign=embed-badge" target="_blank" style="width: 175px; height: 54px;"><img src="htts://curateclick.com/featured-badge.svg?n=73" alt="Check out ai-commit on CurateClick" style="width: 175px; height: 54px;" width="175" height="54" /></a>

guanguans/ai-commitai-commit-vhs> 使用 AI 自动生成约定式 git 提交信息。## 支持的生成器驱动- [x] Bito Cli- [x] ERNIE-Bot-turbo- [x] ERNIE-Bot- [x] GitHub Copilot CLI- [x] Moonshot- [x] OpenAI Chat- [x] OpenAI## 使用shell╰─ ./ai-commit commit --generator=bito_cli --no-edit --no-verify --ansi ─╯1. Generating commit message: generating... Please choice commit type [Automatically generate commit type]: [auto ] Automatically generate commit type [feat ] A new feature [fix ] A bug fix [docs ] Documentation only changes [style ] Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) [refactor] A code change that neither fixes a bug nor adds a feature [perf ] A code change that improves performance [test ] Adding missing tests or correcting existing tests [build ] Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) [ci ] Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) [chore ] Other changes that don't modify src or test files [revert ] Reverts a previous commit > chore RUN 'bito' ERR Model in use: BASIC ERR ERR OUT { OUT "subject": "chore(ai-commit): update tape and gif resources", OUT "body": "- Adjusted width and height settings in ai-commit.tape\n- Changed commit command generator from openai_chat to bito_cli\n- Updated ai-commit-vhs.gif file with new binary data" OUT } OUT OUT RES Command ran successfully1. Generating commit message: ✔2. Confirming commit message: confirming...+-------------------------------------------------+-----------------------------------------------------------------+| subject | body |+-------------------------------------------------+-----------------------------------------------------------------+| chore(ai-commit): update tape and gif resources | - Adjusted width and height settings in ai-commit.tape || | - Changed commit command generator from openai_chat to bito_cli || | - Updated ai-commit-vhs.gif file with new binary data |+-------------------------------------------------+-----------------------------------------------------------------+ Do you want to commit this message? (yes/no) [yes]: > 2. Confirming commit message: ✔3. Committing message: committing...3. Committing message: ✔ [OK] Successfully generated and committed message.