Skip to main content

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


Download files

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

Source Distribution

gitglasses-0.3.0.tar.gz (55.9 kB view details)

Uploaded Source

Built Distribution

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

gitglasses-0.3.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for gitglasses-0.3.0.tar.gz
Algorithm Hash digest
SHA256 55112e1107a1696e228081d639ed93427b29957c77eb5dd82268248a919cd3d0
MD5 d23890d8483d0f8150f8261b9d0a67a0
BLAKE2b-256 ffab7538e77cb8361a3a5ee1fd02d7cd15df89064f55387d85c1d07c3c533c54

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitglasses-0.3.0.tar.gz:

Publisher: release.yml on sander76/gitglasses

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

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

Hashes for gitglasses-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbc6112f286dc9ce46ca1eec6e721a3365449e1a0850b4fb248c08999a09ce2f
MD5 8ed62b540e00c5f12aad5701d21510a9
BLAKE2b-256 03a94a169b967693043a12e20afcd5c421852d489ad1e5460da2166d3c8b3f95

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitglasses-0.3.0-py3-none-any.whl:

Publisher: release.yml on sander76/gitglasses

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