Skip to content
/ g Public

g: Sync your current directories VCS (or reach for one via `--cwd`)

License

Notifications You must be signed in to change notification settings

vcs-python/g

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

661 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$ g

Passthrough to your current directory's VCS.

Python Package Docs Build Status Code Coverage License

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

About

g: Sync your current directories VCS (or reach for one via `--cwd`)

Topics

Resources

License

Stars

Watchers

Forks