1

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

3 Answers 3

3

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
Sign up to request clarification or add additional context in comments.

1 Comment

I should have read your answer before writing mine actually. :p
1

Here is the complete guide and
Here is the complete tutorial

Comments

1

Clone the entire project using the repo tool and let git show you all available branches using git branch. That way you can fund out how the 2.1 branch is called and the just issue a git checkout [thebranch] to switch to the desired branch.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.