Switch from AOSP master to froyo

后端 未结 4 1761
谎友^
谎友^ 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 06:50

    if the branch you are in and the branch you will switch to has the same manifest.xml file, then you can use the following commands to do that.

    repo forall -c git fetch aosp --tags 
    
    repo forall -c git checkout -b john5.1.1_r14_api22 android-5.1.1_r14
    

    also see details in http://johnliao52.github.io/2016/03/27/git-repo-skills.html

提交回复
热议问题