bash-git-prompt

Informative, fancy bash prompt for Git users with repo status

brewmacoslinux
Try with needOr install directly
Source

About

Informative, fancy bash prompt for Git users

Commands

bash-git-prompt

Examples

Initialize bash-git-prompt in your bash configuration$ echo 'source $(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh' >> ~/.bashrc
View current git repository status in prompt with branch and changes$ cd /path/to/git/repo && bash
Customize prompt colors by editing the gitprompt configuration$ export GIT_PROMPT_THEME=Custom && source ~/.bashrc