Android repo 切换分支

来源:互联网 发布:安卓 ping软件 编辑:程序博客网 时间:2024/06/01 07:45

 查看可切换的分支
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