Skip to main content

gix

Manage multiple git sub-repos without constantly cd-ing into their folder first.

Installation

Requires Python 3.12+.

pip install --upgrade gix-cli

Check your installed version:

gix --version

Getting started

Run this once in the parent directory that holds your sub-repos:

gix init

This creates a gix.toml file in the current folder, which is where all your registered aliases will be stored.

If you already have git repos sitting in subfolders and want to register them all at once:

gix init --fetch

To wipe an existing gix.toml and start over:

gix init --overwrite

Managing aliases

Add the repo in your current working directory as an alias:

cd path/to/some-repo
gix alias add backend

List all registered aliases:

gix alias list

Rename an alias:

gix alias rename backend api

Remove an alias (this only removes it from gix.toml, the repo itself is untouched):

gix alias delete api

Running git commands

Once a repo is registered under an alias, run any git command against it from anywhere inside the parent tree:

gix backend status
gix backend pull
gix backend log -5

gix looks up the alias, finds the matching repo path, and runs git <your arguments> there

How it works

result = subprocess.run(["git", *git_args], cwd=engine.read()["repos"].get(alias))

Notes

  • gix doesn't do anything to your actual git repos. Tt only manages the alias-to-path mapping.
  • If gix.toml gets deleted or corrupted, just run gix init again.

Download files

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

Source Distribution

gix_cli-1.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

gix_cli-1.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file gix_cli-1.1.0.tar.gz.

File metadata

  • Download URL: gix_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gix_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c25557d7cac6d2a350d731abae4d2a260d6fd6ef187b952f4004eafdab6961b9
MD5 189efd1bc123f8c93410b691f79ceaeb
BLAKE2b-256 4663d95e054876e8e79cc3cf8c0f3b425f92972e12e502b71555f748abc65ce7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gix_cli-1.1.0.tar.gz:

Publisher: release.yml on DevTool-Superset/gix

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

File details

Details for the file gix_cli-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: gix_cli-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gix_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44941d11418a969dfc1e2986ea80bdbcfd50bb4ea6af8aeb4a2bf56b921d3a5c
MD5 7de67784aee305ef8d9bae7d8b3c32d7
BLAKE2b-256 15f60f571ec2efa73a27de496f54998c4daae28c0079044d0ee00622dc42bbb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gix_cli-1.1.0-py3-none-any.whl:

Publisher: release.yml on DevTool-Superset/gix

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

Release history Release notifications | RSS feed

3.0.0

2 files

2.0.0

2 files

This release

1.1.0 This release

2 files

1.0.0

2 files

0.1.2

2 files

0.1.1

2 files

Supported by

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