g

A tiny CLI wrapper for Git, Subversion, and Mercurial – 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, that is equivalent to:

$ git status

Inside an svn checkout:

$ svn status

Inside a mercurial repo:

$ hg status