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
gixdoesn't do anything to your actual git repos. Tt only manages the alias-to-path mapping.- If
gix.tomlgets deleted or corrupted, just rungix initagain.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c25557d7cac6d2a350d731abae4d2a260d6fd6ef187b952f4004eafdab6961b9
|
|
| MD5 |
189efd1bc123f8c93410b691f79ceaeb
|
|
| BLAKE2b-256 |
4663d95e054876e8e79cc3cf8c0f3b425f92972e12e502b71555f748abc65ce7
|
Provenance
The following attestation bundles were made for gix_cli-1.1.0.tar.gz:
Publisher:
release.yml on DevTool-Superset/gix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gix_cli-1.1.0.tar.gz -
Subject digest:
c25557d7cac6d2a350d731abae4d2a260d6fd6ef187b952f4004eafdab6961b9 - Sigstore transparency entry: 2407335225
- Sigstore integration time:
-
Permalink:
DevTool-Superset/gix@8b836b6dd858bb3889aebfec59e86d74f064100b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/DevTool-Superset
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8b836b6dd858bb3889aebfec59e86d74f064100b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44941d11418a969dfc1e2986ea80bdbcfd50bb4ea6af8aeb4a2bf56b921d3a5c
|
|
| MD5 |
7de67784aee305ef8d9bae7d8b3c32d7
|
|
| BLAKE2b-256 |
15f60f571ec2efa73a27de496f54998c4daae28c0079044d0ee00622dc42bbb2
|
Provenance
The following attestation bundles were made for gix_cli-1.1.0-py3-none-any.whl:
Publisher:
release.yml on DevTool-Superset/gix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gix_cli-1.1.0-py3-none-any.whl -
Subject digest:
44941d11418a969dfc1e2986ea80bdbcfd50bb4ea6af8aeb4a2bf56b921d3a5c - Sigstore transparency entry: 2407335891
- Sigstore integration time:
-
Permalink:
DevTool-Superset/gix@8b836b6dd858bb3889aebfec59e86d74f064100b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/DevTool-Superset
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8b836b6dd858bb3889aebfec59e86d74f064100b -
Trigger Event:
push
-
Statement type: