magicmonty/bash-git-prompt
An informative and fancy bash prompt for Git users observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 76
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5020
- days_rel: n/a
- days_push: 145
- n_releases_24m: 0
Adoption not part of the score
6934 stars · 984 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An informative bash (and fish) prompt that displays git repository status inline, including branch name, ahead/behind counts, staged/changed/untracked files, conflicts, and stash entries. It is a port of the zsh informative git prompt and is configurable via environment variables.
Use cases
- show git branch and status in my bash prompt
- see how many commits I'm ahead or behind the remote at a glance
- display staged and unstaged file counts in the terminal prompt
- show merge conflicts and stash count in my shell prompt
- customize a fancy git-aware prompt for bash
- get git status indicators only when inside a repository
When to choose
- you use bash or fish and want rich git context in your prompt without switching shells or frameworks
- you want a lightweight shell-script solution with no dependencies beyond git
- you need detailed status symbols like ahead/behind, conflicts, and stashes in the prompt
When to avoid
- you use zsh and can use the original zsh-git-prompt or a zsh prompt framework instead
- you want a full prompt framework with themes, powerline rendering, or async prompt updates
- you prefer minimal prompts without git information
Facets
cli-tool · maturity active
developer-tools version-control terminal-ui developer-tools version-control cli bash git-prompt shell fish prompt-customization command-line linux macos
1 source
- readme: https://github.com/magicmonty/bash-git-prompt · fetched 2026-08-28 · 74b3724d3333
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| magicmonty/bash-git-prompt | main | 57 |
For agents
markdown · JSON · MCP: product_card(name="magicmonty/bash-git-prompt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem