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.
CLI Reference
Every command, flag, and option.
Contributing
Development setup, code style, and releases.
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.