Answers for "git branch list only local"

39

branch list in git

git branch -a
Posted by: Guest on May-16-2020
0

list all local branches off a branhc

git show-branch | grep '*' | grep -v "$(git rev-parse --abbrev-ref HEAD)" | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//'
Posted by: Guest on November-26-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language