repo切换分支操作

查看可切换的分支

cd .repo/manifests
git branch -a | cut -d / -f 3

imx-4.1.15-1.0.0_ga 分支为例

repo init -b imx-4.1.15-1.0.0_ga
repo sync   # 如果不需要与服务器数据一致,可以不运行该步
repo start imx-4.1.15-1.0.0_ga --all 

查看切换结果

repo branches

猜你喜欢

转载自blog.csdn.net/deggfg/article/details/81116929