Switch between branches using repo

NOTE:

Since you downloaded everything with repo, you can easily use repo to switch between branches without downloading everything again:

repo init -b jb; repo sync
This will download only the files you need to switch branches, just like moving between branches with git.

Ref: http://stackoverflow.com/questions/6236111/switch-from-aosp-master-to-froyo

你可能感兴趣的:(Switch between branches using repo)