Our Blog

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;

Terminal 2014 bash 2014 108ճ4
Uploaded with plasq's Skitch!

Paste this code into your .bash_profile and off you go.

Loading mentions Retweet
Posted by Glenn Roberts 

Comments (0)

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     twitter