Re:Display your current git branch as part of your bash prompt
by xgamerx on Monday August 17, 2009 @05:03AM
(#767673)
I reworked this script to show your branch name in green if the branch is clean and red if the branch is dirty. Personal preference but I prefer the visual color distinction denoting branch state.
http://gist.github.com/120804