查看可切换的分支 cd .repo/manifests git branch -a | cut -d / -f 3 以 android-4.1.2_r1 分支为例 repo init -b android-4.1.2_r1 repo sync (not needed if your local copy is up to date) repo start android-4.1.2_r1 --all 查看当前的分支 repo branches