Git status on bash prompt in technicolor
bash-git-prompt: Informative git prompt for bash and fish
https://github.com/magicmonty/bash-git-prompt
Project's complete git status (branch name, difference with remote branch, number of files staged, changed, untracked, etc...) displayed on your command prompt.
My shell right now:

Available symbols:
- Local Status Symbols
-
✔: repository clean -
●n: there arenstaged files -
✖n: there arenunmerged files -
✚n: there arenchanged but unstaged files -
…n: there arenuntracked files -
⚑n: there arenstash entries
-
- Branch Tracking Symbols
-
↑n: ahead of remote byncommits -
↓n: behind remote byncommits -
↓m↑n: branches diverged, other bymcommits, yours byncommits
-
Now that I know it, I would never come back to an "uninformative" prompt!
P.S.: If you're a zsh user, have a look at the original zsh version
Written by Lorenzo Novaro
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#