repo操作中本地更新,服务器更新、推送


各位,我这边有些问题想请教一下,在网上找过资料,理解还是不太准确:
我自己建立了repo镜像库,在客户端sync出代码,用repo forall -c git branch -a
查看处于 *(no branch)状态,列几个git的分支情况;
kernel:
* (no branch)
remotes/aosp/stable-3.10-rk3288
remotes/m/android-4.4

abi/cpp:
* (no branch)
remotes/m/android-4.4

device/common:
* (no branch)
remotes/m/android-4.4
remotes/rk/rk30/mid/4.4_r1/release

在xml中kernel使用remotes/aosp/stable-3.10-rk3288,
device/common使用remotes/rk/rk30/mid/4.4_r1/release,
abi/cpp使用default中默认的分支,

在这种不同git库使用不同的分支的情况下,我要怎样建立一个分支A(用来同步服务器,不进行开发),建立一个分支B(用来进行本地开发)?
而且用repo forall -c git remote -v查看到kernel的remote是aosp,abi/cpp的remote是aosp,device/common的remote是rk。

服务器 Android repo git

Oizys 10 years, 6 months ago

Your Answer