CLI tool / Gemini powered / v1.3.0
Give your Git history a point of view.
Turn staged diffs into concise Conventional Commits with one small command. Then split a busy change into a history you can actually understand.
01 / The workflow
A better ending for every diff.
Your changes already contain the story. git-commit-auto gives that story a useful title, a clean shape, and a place in the log.
Stage your changes
Keep your normal Git workflow. Add the files you want to explain.
git add .
Let Gemini read the diff
The script selects a working model and turns context into Conventional Commit language.
analyzing...
Keep a history with a pulse
Commit once, push immediately, or split a busy change into focused file-sized commits.
git log --oneline
02 / Featured mode
One file.
One commit.
When a large staged change deserves more breathing room, pass a number. Each batch gets its own AI-generated message and its own place in history.
03 / Command desk
One tool.
Many good habits.
Pick a mode to see the exact command, what it does, and when it earns a place in your terminal.
04 / Start here
Your next clean commit is four steps away.
Bring your own Gemini key, install the tiny shell script, and keep your regular Git workflow. Nothing else to learn.
Get a Gemini key ↗Set your API key
Keep it in your shell environment, never in a repository.
export GEMINI_API_KEY="YOUR_API_KEY_HERE"Install the script
Put the executable on your path and update it in place whenever you need.
curl -L https://git-auto.hubfly.cloud/git-commit-auto.sh -o git-commit-autoMake your first clean commit
Start with one file per commit, or let the default mode choose for you.
A small security note. Your key is read from GEMINI_API_KEY at runtime. Keep it out of commits, logs, and shared shell history.