统一 REPO_URL 的设置方法.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
4303e687e7
commit
239ca76208
|
@ -2,15 +2,21 @@
|
|||
|
||||
## 安装
|
||||
|
||||
apt-get install repo
|
||||
```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/'
|
||||
```
|
||||
|
||||
## 参考资料
|
||||
|
||||
|
|
Loading…
Reference in New Issue