Show HN: Gix – A small CLI tool that adds AI to Git

3 months ago 2
gix logo

gix: Git on the command line, with a bit of AI.

Release


Gix is a CLI tool that helps you keep your git history clean. It can split large diffs, write conventional commits, and automate the repetitive parts.

It runs locally, uses your own OpenAI key, and fits into your existing workflow.


  • AI-suggested conventional commit messages
  • gix split - split staged diffs into multiple commits
  • Groups related changes using LLM-based embeddings
  • Bring your own OpenAI API key (no lock-in)
  • Built in Go – fast, portable, and cross-platform

brew tap ademajagon/gix brew install gix

Download from Releases and add it to your PATH.

go install github.com/ademajagon/gix@latest

Generate a commit message

Split staged changes into atomic commits

Gix will group commits and ask for confirmation before applying.


gix config set openai_key sk-...

MIT © Agon Ademaj

Read Entire Article