从
repo init -u gerrit207:mt6762s/platform/manifest -b sw -m P410_S_DEV_V1.0.xml
repo init -u gerrit207:mt6762s/platform/manifest -b sw -m P410_S_DEV_V1.0_FTM.xml
来看.repo 文件夹内容的区别
android/vendor/tinno/hw/p410ae/audio/moto 和 android/vendor/tinno/hw/p410ae/audio/trunk 用的是一个仓名,也就是说这两个地址的代码是一样的;(两个目录里面用了同样的代码,拷贝了一份)
进入一个仓,使用git branch -av 也可以看出使用的是是分支
-a 查看所有分支(git branch 本地分支,git branch -r 远程分支,-v 这个分支最近的提交)
**** 和上文无关联 ****
cat manifest.xml
在工程/.repo/manifest.xml 中也能看到分支的名字