GitHub - vcs-python/g: g: Sync your current directories VCS (or reach for one via `--cwd`)
$ 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 gOr install with uv:
$ uv tool install gWorking inside a uv-managed project:
$ uv add gFor one-off use without installing globally:
$ uvx g$ gDevelopmental 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' --forceThen 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.