Skip to main content

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.

Metadata

Release files for gitglasses 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitglasses 0.3.0
File Size Uploaded Provenance Actions
gitglasses-0.3.0.tar.gz 55.9 kB With provenance Details for gitglasses-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gitglasses 0.3.0
File Interpreter ABI Platform Actions
gitglasses-0.3.0-py3-none-any.whl Python 3 none any Details for gitglasses-0.3.0-py3-none-any.whl

Total release size: 60.9 kB

Release files / gitglasses-0.3.0.tar.gz

Download URL gitglasses-0.3.0.tar.gz
Size 55.9 kB
Tags Source
SHA-256 checksum
How to use checksums
55112e1107a1696e228081d639ed93427b29957c77eb5dd82268248a919cd3d0
BLAKE2b-256 checksum
How to use checksums
ffab7538e77cb8361a3a5ee1fd02d7cd15df89064f55387d85c1d07c3c533c54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.

Transparency log

Release files / gitglasses-0.3.0-py3-none-any.whl

Download URL gitglasses-0.3.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbc6112f286dc9ce46ca1eec6e721a3365449e1a0850b4fb248c08999a09ce2f
BLAKE2b-256 checksum
How to use checksums
03a94a169b967693043a12e20afcd5c421852d489ad1e5460da2166d3c8b3f95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.

Transparency log

Security for gitglasses 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gitglasses-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page