The size of the latest AOSP source code is rather large (around 30-35 Gb for the .repo directory and another 15 Gb or so for the working directory). Is there a way to downlo
You can specify --depth 1 to git clone command. It will only get the latest snapshot.
--depth 1