Answers for "list all the branches in your repo, and also tell you what branch you're currently in."

0

git get all branches and code

git checkout --detach
git fetch origin '+refs/heads/*:refs/heads/*'
Posted by: Guest on February-04-2021
0

git list all remote branches created by me

git for-each-ref --format=' %(authorname) %09 %(refname)' --sort=authorname
Posted by: Guest on October-09-2020

Code answers related to "list all the branches in your repo, and also tell you what branch you're currently in."

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language