All projects
Open-source CLI · 2026

GGX

Visit the repository
A terminal running ggx branch: it lists the changed files, proposes a branch name and a commit message, then checks out, commits, and pushes, over a light purple abstract background.

I built GGX, an open-source command-line tool in Rust that writes the routine text of a git workflow for you: branch names, commit messages, and pull request descriptions. It reads your changes, asks the AI you already use, and shows you the result before touching anything. It has shipped 40 releases for macOS and Linux.

Four commands for the whole cycle

A typical feature takes four commands. ggx branch names a branch from your changes, commits, and pushes. ggx commit adds more work, ggx pr opens the pull request with a generated title and description, and ggx merge merges it, updates the main branch, and deletes the old one.

Every step shows what it is about to do and waits for a yes. If you've already staged some files, GGX commits only those and leaves the rest alone. If a pull request is already open for the branch, ggx pr rewrites its title and body instead of opening a second one.

No API key to manage

GGX works with Codex, Claude, or GitHub Copilot, and reuses the login of whichever one is installed: the Codex token on disk, the Claude credentials in the macOS keychain, or the Copilot session. There is no extra key to create, paste, or pay for.

This replaced my first attempt, pushit, a TypeScript tool that only wrote commit messages and needed its own OpenRouter key. Rewriting it in Rust also removed the runtime: GGX is a single 2 MB binary that starts in under 10 milliseconds, and it calls the providers through curl rather than bundling an HTTP library.

Tested like a user would run it

The 87 tests are all end-to-end. Each one runs the real binary in a temporary git repository, with fake versions of gh, curl, and the AI tools placed on the PATH, then checks what the user would see: the output, the exact error message, the state of the repository, and the requests GGX sent to GitHub and to the provider.

Because nothing in the tests needs the network or a real account, GitHub Actions runs all of them on every push.

Releases and updates

cargo-dist builds the binaries for Apple Silicon Macs and for ARM and x86 Linux on GitHub Actions, then publishes them with a one-line install script. Once a day, GGX checks in the background for a new stable version, and ggx update installs it.

Year
2026
Duration
Since June 2026
Built with
RustclapGitHub CLIcargo-dist