$ g
Passthrough to your current directory's VCS.
Shortcut / powertool for developers to access current repos' VCS, whether it's
git, subversion (svn), or mercurial (hg).
$ pip install --user g
Or install with uv:
$ uv tool install g
Working inside a uv-managed project:
$ uv add g
For one-off use without installing globally:
$ uvx g
$ g
Developmental releases
You can test the unpublished version of g before its released.
-
pip:
$ pip install --user --upgrade --pre g
-
uv:
$ uv tool install g
$ uv add g
$ uvx g
-
pipx:
$ pipx install --suffix=@next g --pip-args '\--pre' --force
Then use
g@next --help.
Credits
2021-12-05: Thanks to John Shanahan (@_shanahanjrs) for giving g use g
Donations
Your donations fund development of new features, testing and support. Your money will go directly to maintenance and development of the project. If you are an individual, feel free to give whatever feels right for the value you get out of the project.
See donation options at https://tony.sh/support.html.
More information
- Python support: >= 3.9, pypy
- VCS supported: git(1), svn(1), hg(1)
- Source: https://github.com/vcs-python/g
- Docs: https://g.git-pull.com
- Changelog: https://g.git-pull.com/history.html
- API: https://g.git-pull.com/api.html
- Issues: https://github.com/vcs-python/g/issues
- Test Coverage: https://codecov.io/gh/vcs-python/g
- pypi: https://pypi.python.org/pypi/g
- Open Hub: https://www.openhub.net/p/g
- License: MIT.
Release files for g 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| g-0.0.9.tar.gz | 628.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| g-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 633.5 kB
Release files / g-0.0.9.tar.gz
| Download URL | g-0.0.9.tar.gz |
|---|---|
| Size | 628.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93826b2fabad4efbce9966db6d9c5d24b74fbb0976eb01a8de3cd00cb9f0c3e0
|
|
BLAKE2b-256 checksum How to use checksums |
5346e9475aaf09bac01a91d2b96ee0f78f9f7f34c2a6ec13378840df47984a8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.
Transparency logRelease files / g-0.0.9-py3-none-any.whl
| Download URL | g-0.0.9-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9b29135b8beaeccd107942432a763d5551c7dd7e6535c2ea187b2e7c1806afe
|
|
BLAKE2b-256 checksum How to use checksums |
0ef76e4dcf065c569e8353fc9d27057fb725d70969c0f1d6621743ea3d5d3f21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.
Transparency log