Using Git? How to know what branch you're on, and if its dirty.
Do you lie awake at night dreaming of a way to save your fingers from typing 'git status' too often? Ever wish you could just have an asterisk (*) on the command prompt to tell you that the working directory is dirty? No more insomnia for you;
Paste this code into your .bash_profile and off you go.
Posted by Glenn Roberts




