如何在git中查看所有分支
git branch -a
git分支列表
git branch -a #all local and remote branches are listed
git branch -r #remote branches are listed
git branch #only local branches are listed
git分支命令
git branch <branchname>
(or)
git checkout -b <branchname>
列出所有branhces git
git branch -a