[Numpy-discussion] Development workflow
Tue Oct 12 00:16:05 CDT 2010
> I find having the branch displayed on the command line helpful in avoiding
> mishaps, so I have the following in my .bashrc
> export PS1='\[\033[1;31m\]\$\[\033[0m\]\u@\h \W$(__git_ps1 " (%s)")\\$ '
> The \W$(__git_ps1 " (%s)") bit is the important part.
Yes, that one's a lifesaver. It's part of the truly excellent
git-completion bash utilities too:
More information about the NumPy-Discussion