Favicon of bash-git-prompt

bash-git-prompt

Display branch name, commit differences, staged files, and repository status directly in your bash or fish shell prompt with intuitive symbols.

A customizable bash and fish shell prompt that displays detailed information about your current git repository. Instead of running git commands to check status, all essential information appears instantly in your command prompt.

Key features include:

  • Branch information: Shows current branch name or commit hash
  • Upstream tracking: Display remote branch status and divergence
  • File status indicators: Visual symbols for staged files, changes, conflicts, and untracked files
  • Commit tracking: See how many commits ahead or behind the remote branch you are
  • Stash awareness: Know when you have stashed changes
  • Multiple themes: Choose from built-in themes including Solarized and Ubuntu-optimized variants
  • Flexible configuration: Enable or disable specific features like untracked file counting and virtual environment display
  • Shell support: Works with both bash and fish shells

The prompt uses intuitive Unicode symbols (✔, ✚, ✖, ↑, ↓, etc.) to convey repository state at a glance. Installation is straightforward via Homebrew on macOS or by cloning the repository. Extensive customization options let you control what information displays and how it appears, making it suitable for any workflow or terminal theme.

Features

Config fileScriptable

Shell features

Syntax highlighting

Media

Pros

4
  • Displays detailed git status in the prompt
  • Supports both bash and fish shells
  • Highly configurable with various themes and options
  • Provides clear visual indicators for repository state

Cons

1
  • Can be complex to configure for advanced use cases

Related tools

Share:

Auto-fetched .

Recent releases

Similar to bash-git-prompt

Favicon

 

  
 
Favicon

 

  
 
Favicon