mkdir ~/bin PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY git config --global user.name "admin" git config --global user.email "admin@example.com" repo init -u https://android.googlesource.com/platform/manifest repo init -u https://android.googlesource.com/platform/manifest -b android-8.0.0_r34 -depth=1 repo sync -c
-depth=1 指定git克隆深度,加快下载速度