1、查看目录的分支 $ git branch -a 2、切换分支 $ git checkout -b dev origin/dev 转载于:https://www.cnblogs.com/dyunfeng/p/11596906.html