VibeHunt
Back to browse

bash-git-prompt

Informative and fancy bash prompt for Git users.

Source

The prompt displays the current Git repository’s state directly in the command line, showing the branch name, its relationship to the remote, and counts of staged, changed, untracked, conflicted, and stashed files. Symbols such as ✔ for a clean tree, ●n for staged files, ✚n for unstaged changes, and ↑n/↓n for ahead/behind remote commits convey this information concisely. When the repository is not on a branch, the prompt shows the commit hash instead.

It is designed for users of Bash and Fish shells who work with Git and want immediate visual feedback without running separate commands. Configuration variables let users limit the prompt to repository directories, hide remote status fetching, ignore submodule changes, and include virtual‑environment details.

The project is a direct port of an informative Zsh prompt, supporting installation via Homebrew or a simple Git clone, and provides a single script that can be sourced from shell startup files. It is stable and available as a command‑line interface.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps