从AOSP总开关升级Froyo [英] Switch from AOSP master to froyo
问题描述
我刚刚签出主人与回购。现在我想切换到升级Froyo。我怎样才能做到这一点,而无需再次下载一堆东西?我不想重新下载了一堆东西,我只是想能够分支之间作为一个普通的Git克隆自由移动。
I just checked out master with repo. Now I want to switch to froyo. How can I do this without downloading a bunch of stuff again? I don't want to download a bunch of stuff again, I just want to be able to move freely between branches as in a normal git clone.
推荐答案
既然你下载的一切与回购,你可以很容易地使用回购协议分公司之间进行切换,而无需再次下载一切:
Since you downloaded everything with repo, you can easily use repo to switch between branches without downloading everything again:
回购初始化-b升级Froyo;
回购同步
repo init -b froyo;
repo sync
这将只下载你需要切换分支机构,就像使用Git分支之间移动文件。
This will download only the files you need to switch branches, just like moving between branches with git.
这篇关于从AOSP总开关升级Froyo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!