android repo 切换分支

查看可切换的分支
cd .repo/manifests
git branch -a | cut -d / -f 3


以 gingerbread-release 分支为例
repo init -b gingerbread-release 
repo sync (not needed if your local copy is up to date)
repo start gingerbread-release --all 
查看当前的分支
repo branches

你可能感兴趣的:(android repo 切换分支)