2018-11-27 21:30:32 +08:00
|
|
|
# Ubuntu 安装和设置 Repo
|
|
|
|
|
|
|
|
## 安装
|
|
|
|
|
|
|
|
apt-get install repo
|
|
|
|
|
|
|
|
安装好后,将
|
|
|
|
|
|
|
|
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
|
|
|
|
|
2019-07-25 13:29:09 +08:00
|
|
|
写入 ~/.bashrc 文件。最后:
|
|
|
|
|
|
|
|
source ~/.bashrc
|
2018-11-27 21:30:32 +08:00
|
|
|
|
2020-03-04 14:02:44 +08:00
|
|
|
## 参考资料
|
2018-11-27 21:30:32 +08:00
|
|
|
|
2019-07-25 13:29:09 +08:00
|
|
|
[repo init报错Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle](https://blog.csdn.net/feiniao8651/article/details/59178128)
|