VibeHunt
Back to browse

git-all-branches

Improved `git branch -a`.

The tool provides a command‑line interface that lists all Git branches—both local and remote—in a single, color‑coded view. It determines the current repository, optionally fetches updates, and then gathers remote and local branch names, deduplicating them and annotating each entry as local, remote, or both. The output highlights the checked‑out branch and uses distinct colors for each category, improving readability compared with the standard `git branch -a`.

It is intended for developers who work with multiple branches and want a clearer, consolidated overview without manually filtering the default Git output. The script can be invoked directly or installed globally via npm, accepting an optional remote name (defaulting to `origin`). The implementation relies on standard shell utilities and Git commands, making it portable across environments that support POSIX shells.

The package is marked as stable and available as a core CLI tool. It is deprecated in favor of simple shell alternatives, but remains functional for users who prefer an installed‑in command.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps