目录 1,查看分支 (1)查看本地分支 (2)查看远程分支 (3)查看所有分支 1,查看分支 (1)查看本地分支 git branch (2)查看远程分支 git branch -r -r 表示remote (3)查看所有分支 -a 表示 all git branch -a