git查看切换分支 星星那样亮 2023-09-06 99 阅读1分钟 git branch //查看分支 git branch -r //查看代码仓库远程分支 git branch -a //查看本地和远程分支:(颜色区分,标红的是远程分支) git checkout '分支名' //切换分支