Answers for "show all latest branches in local git"

39

how to see all branches 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 "show all latest branches in local git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language