Sorry Shruggy,
I used these following commands to download the master branch of Android Open Source Project
Code:
repo init
repo init -u https://android.googlesource.com/platform/manifest
repo init -u https://android.googlesource.com/platform/manifest -b master
repo sync
Now I want to switch from master branch to Android 11/10/9 in the same workspace directory.
I have not made any changes or initiated any compilation tasks in that directory I downloaded.
What I have to do
1)to avoid downloading all the files from the beginning for the Android versions I want to switch and
2)to download only the required missing files
3)the non relevant files already available if any as residue after switching should not result errors in compilation or the final output files.
Do the following commands sufficient for my needs?
Code:
repo init -u https://android.googlesource.com/platform/manifest
repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r48
repo sync
Please reply.