On Sun, Aug 30, 2009 at 6:30 PM, Olivier Goffart wrote: > Le Sunday 30 August 2009, Christoph Feck a écrit : >> 18. hope that I don't forget to switch back to a different branch before I >> apply/commit my next fix > > This is the "bad faith" I was refering to earlier. > Technical problem might happen, but I don't see them that often. > You can use that to always know what branch you're in: export PS1="\\w:\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\$ "