DEV Community

Kaíque Kandy Koga
Kaíque Kandy Koga

Posted on

AI‑powered Git commits using Small Language Models

I am releasing AI Git, a tool that generates Git commit messages using local language models. It currently supports Ollama and is available on RubyGems.

Usage example:

$ ai_git
Model Name: phi4:14b
Staged Files: README.md
Branch: master
AI Generating Commit Message
Commit Message:

Refine title in README.md
## Summary
- Update title from "AI‑powered git commit + push tool using SLMs" to "AI‑powered Git commit + push tool using SLMs"
## Why
Ensure consistent capitalization of "Git" as it is a proper noun and align with standard naming conventions.
Git Commited
Git Pushed
Benchmark
  0.002220   0.004462   0.212968 (  9.990607)
Enter fullscreen mode Exit fullscreen mode

Generated commit:

$ git show
commit 3a69059d8a8b3fa9f6d1f0d19d989d085d82f167 (HEAD -> master, origin/master, origin/HEAD)
Author: Kaíque Kandy Koga <kaiquekandykoga@gmail.com>
Date:   Thu Apr 16 11:28:42 2026 +1200

    Refine title in README.md
    ## Summary
    - Update title from "AI‑powered git commit + push tool using SLMs" to "AI‑powered Git commit + push tool using SLMs"
    ## Why
    Ensure consistent capitalization of "Git" as it is a proper noun and align with standard naming conventions.

diff --git a/README.md b/README.md
index 01b9bc0..31cf897 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # AI Git

-AI‑powered git commit + push tool using SLMs (Small Language Models)
+AI‑powered Git commit + push tool using SLMs

 ## Usage

Enter fullscreen mode Exit fullscreen mode

GitHub: https://github.com/kaiquekandykoga/ai_git

Top comments (0)