git branch -a 查看所有的分支,当前分支是*标注的 git checkout -b newBranch 基于当前工作分支创建一个新的分支 git checkout BranchName 切换分支 Please enable JavaScript to view the comments powered by Disqus.