# Ubuntu 安装和设置 Repo ## 安装 apt-get install repo 安装好后,将 export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/' 写入 ~/.bashrc 文件。最后: source ~/.bashrc ## 参考 [repo init报错Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle](https://blog.csdn.net/feiniao8651/article/details/59178128)