Skip to main content
100%

Helpful Git Snippets

✓ Published0🌍 Public
Aarchae0pteryx
Last edited Jul 2, 2022
Created on Apr 6, 2022

This visualization displays a color-coded list of remote Git branches sorted by commit recency. It shows each branch’s shortened name, abbreviated object ID, latest commit subject, author, and relative committer date, with yellow, red, and green highlighting for branch names, hashes, and timestamps. The code uses a single `git branch -r` command with `--sort=-committerdate` and a custom `--format` string, which supports color directives and field extraction. Data comes directly from the local Git repository’s remote-tracking branches, with output filtered by a `grep` pattern for a specific remote or author.

AI-generated description

Similar vizzes