Skip to main content

cli command to easily sync current directory

Project description

$ 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

g-0.0.9.tar.gz (628.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

g-0.0.9-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file g-0.0.9.tar.gz.

File metadata

  • Download URL: g-0.0.9.tar.gz
  • Upload date:
  • Size: 628.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for g-0.0.9.tar.gz
Algorithm Hash digest
SHA256 93826b2fabad4efbce9966db6d9c5d24b74fbb0976eb01a8de3cd00cb9f0c3e0
MD5 37ea8d3e80fe6d4c41a3316e3df8f7a1
BLAKE2b-256 5346e9475aaf09bac01a91d2b96ee0f78f9f7f34c2a6ec13378840df47984a8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for g-0.0.9.tar.gz:

Publisher: tests.yml on vcs-python/g

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file g-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: g-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for g-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b29135b8beaeccd107942432a763d5551c7dd7e6535c2ea187b2e7c1806afe
MD5 5d28d46c1c4b337c65f464ae6a44c125
BLAKE2b-256 0ef76e4dcf065c569e8353fc9d27057fb725d70969c0f1d6621743ea3d5d3f21

See more details on using hashes here.

Provenance

The following attestation bundles were made for g-0.0.9-py3-none-any.whl:

Publisher: tests.yml on vcs-python/g

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page