统一 REPO_URL 的设置方法.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-07-23 10:37:37 +08:00
parent 4303e687e7
commit 239ca76208
1 changed files with 11 additions and 5 deletions

View File

@ -2,15 +2,21 @@
## 安装
```bash
apt-get install repo
```
安装好后,将
安装好后:
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
```bash
vim /usr/bin/repo
```
写入 ~/.bashrc 文件。最后:
修改 REPO_URL 为如下值
source ~/.bashrc
```bash
REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
```
## 参考资料