Switch from AOSP master to froyo
问题 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. 回答1: Since you downloaded everything with repo, you can easily use repo to switch between branches without downloading everything again: repo init -b froyo; repo sync This will download only the files you need to switch branches, just