学习使用git 查看本地分支 $ git branch * master 查看远程分支 $ git branch -a 创建分支 $ git brach test 切换到test分支 git checkout test