git-branch --print-current From: Karl Chen <hidden> Date: 2016-06-15 22:45:51 How about an option to git-branch that just prints the name of the current branch for scripts' sake? To replace: git branch --no-color 2>/dev/null | perl -ne '/^[*] (.*)/ && print $1'
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help