Tuesday, May 26, 2026Tech HubAboutContactAdvertiseNewsletter
Back to Home
I Built a CLI Tool That Writes Better Git Commits Than I Do

I Built a CLI Tool That Writes Better Git Commits Than I Do

Have you ever stared at a terminal after git commit, trying to remember what you changed? I have. Every single day. Then I'd type "fixed stuff" or "update" and move on. Six months later, every git log was a graveyard of useless messages. So I built git-copilot. What it does $ git...

B
Blizine Admin
·2 min read·0 views
I Built a CLI Tool That Writes Better Git Commits Than I DoHave you ever stared at a terminal after git commit, trying to remember what you changed?I have. Every single day.Then I'd type "fixed stuff" or "update" and move on. Six months later, every git log was a graveyard of useless messages.So I built git-copilot. What it does$ git add . $ git-copilot gen ✨ feat(api): add user routes and controller 3 file(s), +124/-15 linesReads your staged diff, analyzes the files, and generates a conventional commit message. About 5 seconds. How it worksNo AI. No API calls. No internet. Pure Python stdlib with smart heuristics.Change Auto-detectssrc/*.py, *.js feat_test.py, spec.js testREADME.md, docs/* docsDockerfile, .github/ build or ci*.css, *.scss styleScope is inferred from directory names - api/, ui/, db/, auth/, config/. Breaking changes detected from migration files or BREAKING CHANGE keywords. Installpip install git-copilotOr from GitHub:git clone https://github.com/zhirenhun-stack/git-copilot cd git-copilot && pip install -e . Usagegit-copilot gen git-copilot gen --type fix git-copilot config git-copilot init Pro Pack ($4.99)The free version is fully functional and open source. The Pro Pack includes:3 premium templates (Angular-style, Emoji-only, Minimal) GitHub Actions CI integration for commit linting Commit convention cheatsheet VS Code snippets for auto-complete Custom scope mappings Lifetime updatesGet the Pro Pack WhyI got tired of writing "wip" for every commit. Now I run git-copilot gen | git commit -F - and get back to coding. Clean commits, every time.Repo: https://github.com/zhirenhun-stack/git-copilot Pro Pack: https://zhirenhun.gumroad.com/l/git-copilot-pro

📰Originally published at dev.to

Comments