NotePublic/Software/Applications/Repo/Ubuntu_安装和设置_Repo.md
chen.yang 8d44b258fb 补充资料并统一命令风格.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2022-04-29 13:20:49 +08:00

477 B

Ubuntu 安装和设置 Repo

安装

sudo apt install repo
# 手动安装
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo

安装好后:

vim /usr/bin/repo

修改 REPO_URL 为如下值:

REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'

外部参考资料

  1. repo init报错Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle