~/project/android$ cd .repo/manifests
~/project/android_2.3.1_r1/.repo/manifests$ git branch -a | cut -d / -f 3
以 android-2.3.1_r1 分支为例
~/project/android$ repo
init -b android-2.3.1_r1
~/project/android$ repo
sync (not needed if your local copy is up to date)
~/project/android$ repo start android-2.3.1_r1 --all
返回根目录,
查看当前的分支
~/project/android$
repo branches
*
android-2.3.1_r1 | in all projects