Visualize git branch relationships in a commit range
Project description
GitGlasses
Visualize git branch relationships in a commit range.
Installation
uv sync
Usage
gitglasses [--from <ref>] [--to <ref>]
--from: Starting commit or branch (defaults to current HEAD)--to: Target branch or commit (defaults to "main")
Examples
# Show branches from current HEAD to main (using defaults)
gitglasses
# Explicitly specify from HEAD to main
gitglasses --from HEAD --to main
# Show branches in last 5 commits
gitglasses --from HEAD --to HEAD~5
# Show branches from feature-a to main
gitglasses --from feature-a --to main
Output
GitGlasses displays branches as an ASCII tree with box-drawing characters:
main
├── branch-a (a1b2c3d, e4f5g6h)
│ └── branch-b (i7j8k9l)
└── branch-c (m1n2o3p)
Each branch shows the abbreviated commit hashes of commits in the specified range.
Project details
Release history Release notifications | RSS feed
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 gitglasses-0.3.0.tar.gz.
File metadata
- Download URL: gitglasses-0.3.0.tar.gz
- Upload date:
- Size: 55.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55112e1107a1696e228081d639ed93427b29957c77eb5dd82268248a919cd3d0
|
|
| MD5 |
d23890d8483d0f8150f8261b9d0a67a0
|
|
| BLAKE2b-256 |
ffab7538e77cb8361a3a5ee1fd02d7cd15df89064f55387d85c1d07c3c533c54
|
Provenance
The following attestation bundles were made for gitglasses-0.3.0.tar.gz:
Publisher:
release.yml on sander76/gitglasses
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitglasses-0.3.0.tar.gz -
Subject digest:
55112e1107a1696e228081d639ed93427b29957c77eb5dd82268248a919cd3d0 - Sigstore transparency entry: 907849447
- Sigstore integration time:
-
Permalink:
sander76/gitglasses@d96ef49e7d95fc2e5cbed91a935c630ab97446e8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sander76
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d96ef49e7d95fc2e5cbed91a935c630ab97446e8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gitglasses-0.3.0-py3-none-any.whl.
File metadata
- Download URL: gitglasses-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbc6112f286dc9ce46ca1eec6e721a3365449e1a0850b4fb248c08999a09ce2f
|
|
| MD5 |
8ed62b540e00c5f12aad5701d21510a9
|
|
| BLAKE2b-256 |
03a94a169b967693043a12e20afcd5c421852d489ad1e5460da2166d3c8b3f95
|
Provenance
The following attestation bundles were made for gitglasses-0.3.0-py3-none-any.whl:
Publisher:
release.yml on sander76/gitglasses
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitglasses-0.3.0-py3-none-any.whl -
Subject digest:
dbc6112f286dc9ce46ca1eec6e721a3365449e1a0850b4fb248c08999a09ce2f - Sigstore transparency entry: 907849449
- Sigstore integration time:
-
Permalink:
sander76/gitglasses@d96ef49e7d95fc2e5cbed91a935c630ab97446e8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sander76
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d96ef49e7d95fc2e5cbed91a935c630ab97446e8 -
Trigger Event:
push
-
Statement type: