24 lines
398 B
Markdown
24 lines
398 B
Markdown
# Ubuntu 安装和设置 Repo
|
|
|
|
## 安装
|
|
|
|
```bash
|
|
apt-get install repo
|
|
```
|
|
|
|
安装好后:
|
|
|
|
```bash
|
|
vim /usr/bin/repo
|
|
```
|
|
|
|
修改 REPO_URL 为如下值:
|
|
|
|
```bash
|
|
REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
|
|
```
|
|
|
|
## 外部参考资料
|
|
|
|
1. [repo init报错Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle](https://blog.csdn.net/feiniao8651/article/details/59178128)
|