摘要: # 有两个分支master #切换并新建分支到login git checkout -b login # 提交login分支到本地仓库 git commit -m "提交信息" # 查看分支 git branch # 切换master分支 git checkout master # 查看分支 git 阅读全文