diff --git a/Software/Applications/Repo/Ubuntu_安装和设置_Repo.md b/Software/Applications/Repo/Ubuntu_安装和设置_Repo.md index f75f3b8..66d814f 100644 --- a/Software/Applications/Repo/Ubuntu_安装和设置_Repo.md +++ b/Software/Applications/Repo/Ubuntu_安装和设置_Repo.md @@ -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/' +``` ## 参考资料