1.创建bin 下载repo 添加到环境变量
sudo apt-get install curl
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
PATH=~/bin:$PATH
修改repo
REPO_URL = 'https://gerrit-googlesource.proxy.ustclug.org/git-repo'
2.安装git 工具 设置用户名 邮箱
sudo apt-get install git
git config --global user.email " 邮箱 "
git config --global user.name " 名称 "
3.AOSP | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror