Search code examples
androidandroid-source

where to find source code link


i want to dowmload android source as repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.2_r1,i know the method of downloads ,but i donot know where to find "android-2.2_r1" ,if i want to find 2.1, how to modify the parameter after -b,could you give a link that tell me which versions may be download. thanks


Solution

  • From repo guide

    Using topic branches

    To assign the branch to a particular project:

    $ repo start branch name project 
    

    To switch back and forth among branches that you have created in your local work environment:

    $ git checkout branchname 
    

    To see a list of existing branches:

    $ git branch  
    

    or...

    $ repo branches