https://github.com/vcs-python/g
g: Sync your current directories VCS (or reach for one via `--cwd`)
https://github.com/vcs-python/g
cli sync vcs
Last synced: 9 months ago
JSON representation
g: Sync your current directories VCS (or reach for one via `--cwd`)
- Host: GitHub
- URL: https://github.com/vcs-python/g
- Owner: vcs-python
- License: mit
- Created: 2022-02-26T18:49:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-23T21:19:59.000Z (10 months ago)
- Last Synced: 2025-03-24T13:44:09.947Z (10 months ago)
- Topics: cli, sync, vcs
- Language: Python
- Homepage: https://g.git-pull.com
- Size: 2.23 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
README
# `$ g`
Passthrough to your current directory's VCS.
[](https://pypi.org/project/g/)
[](https://g.git-pull.com)
[](https://github.com/vcs-python/g/actions?query=workflow%3A%22tests%22)
[](https://codecov.io/gh/vcs-python/g)
[](https://github.com/vcs-python/g/blob/master/LICENSE)
Shortcut / powertool for developers to access current repos' VCS, whether it's
git, subversion (`svn`), or mercurial (`hg`).
```console
$ pip install --user g
```
```console
$ g
```
### Developmental releases
You can test the unpublished version of g before its released.
- [pip](https://pip.pypa.io/en/stable/):
```console
$ pip install --user --upgrade --pre g
```
- [pipx](https://pypa.github.io/pipx/docs/):
```console
$ pipx install --suffix=@next g --pip-args '\--pre' --force
```
Then use `g@next --help`.
# Credits
2021-12-05: Thanks to [John Shanahan](https://github.com/shanahanjrs) ([@\_shanahanjrs](https://twitter.com/_shanahanjrs)) for giving g use [g](https://pypi.org/project/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 .
# More information
- Python support: >= 3.9, pypy
- VCS supported: git(1), svn(1), hg(1)
- Source:
- Docs:
- Changelog:
- API:
- Issues:
- Test Coverage:
- pypi:
- Open Hub:
- License: [MIT](https://opensource.org/licenses/MIT).