There are staged files (no untracked or unstaged). Ready to commit.
$$\color{red}red$$
$$\color{red}\text{↕}$$
Branch has diverged.
$$\color{red}red$$
$$\color{red}\text{↓}$$
There are new commits on the remote branch. You should pull!
$$\color{red}red$$
$$\color{red}\text{↑}$$
There is a new commit on your branch that says "don't push", "work in progress", or some variation thereof.
$$\color{green}green$$
$$\color{green}\text{↑}$$
You have new commits on your branch. Ready to push!
Installation instructions
Bash
Run the following to install:
git clone git@github.com:dfed/FancyPantsPS1.git
cd fancypantsps1
. ./install.sh
Or add the following into your ~/.bash_profile:
source<path_to_fancypants>/fancypants_sharedrc &&source<path_to_fancypants>/fancypants_ps1_bashrc
export GIT_GEMS_PS1_SHOWUNTRACKEDFILES=true #set to false to speed up your prompt when in large repos
Zsh
Run the following to install:
git clone git@github.com:dfed/FancyPantsPS1.git
cd fancypantsps1
. ./zsh_install.sh
Or add the following into your ~/Development/config_files/zsh/prompt.zsh:
source<path_to_fancypants>/fancypants_sharedrc &&source<path_to_fancypants>/fancypants_ps1_zshprompt
export GIT_GEMS_PS1_SHOWUNTRACKEDFILES=true #set to false to speed up your prompt when in large repos