Paolo Bonzini wrote:
> ... I would have anyway committed the poll(2) work in progress.
> 
> My usual workflow is to develop stuff in a separate branch, and I want 
> to catch as soon as possible any deviation from the workflow.

Maybe you can include the output of the command
   git status 2>/dev/null | head -n 1 | sed -e 's/# On branch //'
in your bash prompt, as a constant reminder on which branch you are working?
Like this:
   export PS1="[EMAIL PROTECTED]:\\w \$(git status 2>/dev/null | head -n 1 | 
sed -e 's/# On branch //')\\$ "

Bruno



Reply via email to