Switch from AOSP master to froyo

后端 未结 4 1771
谎友^
谎友^ 2021-02-06 06:21

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 agai

4条回答
  •  时光取名叫无心
    2021-02-06 07:06

    cd into your repo directory, then execute repo forall -c git checkout korg/froyo for checking out the froyo branch for all subrepos and repo forall external/qemu sdk -c git checkout korg/tools_r6for checking out the correct android tools for froyo.

    In this way repo works in a similar way as git submodule foreach. You can also go back to the head revisions via git forall -c git checkout HEAD or a simple repo sync

提交回复
热议问题