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

猜你喜欢

转载自zhangyf1987hb.iteye.com/blog/1860871