g

A tiny CLI wrapper for git, svn, and hg – auto-detects your repo type and proxies commands.

Quickstart

Install and run your first command.

Quickstart
CLI Reference

Every command, flag, and option.

CLI Reference
Contributing

Development setup, code style, and releases.

Project

Install

$ pip install --user g
$ uv tool install g

See Quickstart for all installation methods and first steps.

At a glance

$ g status

Inside a git repo this runs git status; inside an svn checkout it runs svn status; inside a mercurial repo it runs hg status.