从AOSP总开关升级FroyoAOSP、Froyo

由网友(只怪、我太傻)分享简介:我刚刚签出主人与回购。现在我想切换到升级Froyo。我怎样才能做到这一点,而无需再次下载一堆东西?我不想重新下载了一堆东西,我只是想能够分支之间作为一个普通的Git克隆自由移动。I just checked out master with repo. Now I want to switch to froyo. Ho...

我刚刚签出主人与回购。现在我想切换到升级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.

阅读全文

相关推荐

最新文章