Camoflame
10/4/2017 - 6:43 AM

Alias Git show current branch

Bash alias to output the current branch, nothing else. Enter this to your .bash_profile

alias gitb='git rev-parse --abbrev-ref HEAD'