3 ms·
It definitely can tell you whether you have staged files, because I use it for that among other things. I don't remember how I turned that feature on, but it wa
by gruseom 16y ago
It definitely can tell you whether you have staged files, because I use it for that among other things. I don't remember how I turned that feature on, but it wasn't hard. Perhaps someone will chime in with the details.
- l0stman 16y agoJust add the following lines in your .bashrc: export GIT_PS1_SHOWDIRTYSTATE=yes export GIT_PS1_SHOWUNTRACKEDFILES=yes
- avar 16y agoThanks. I didn't know about those. I've configured them in my ~/.bashrc now: http://github.com/avar/dotfiles/commit/43454870 http://github.com/avar/dotfiles/commit/43454870