- 国内三大免费源:
- repo只在清华源网站里搜到:git-repo | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror
- repo安装步骤:
- curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo // repo大小大概44K左右
- chmod +x repo
sudo mv repo /usr/bin - vim
~/.bashrc
- 加入这句 export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
- reboot
- repo init --help //查看是否安装成功
- curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo // repo大小大概44K左右
通过国内源在Ubuntu20.0.4安装repo
qq_254617772025-03-27 15:03
相关推荐
芥子沫5 小时前
Git Commit 命令详解:版本控制的核心操作lingxiao168881 天前
Git常规应用唐叔在学习1 天前
【Git神技】三步搞定指定分支克隆,团队协作效率翻倍!稚辉君.MCA_P8_Java1 天前
Git 基础 - 查看提交历史海上生明月丿2 天前
在IDEA中使用Git三口吃掉你2 天前
Git分布式版本控制工具我命由我123452 天前
Git 暂存文件警告信息:warning: LF will be replaced by CRLF in XXX.java.海上生明月丿3 天前
Git介绍 && 常用命令力Mer3 天前
【Git】git reset 和 git revert 的用法及示例讲解角砾岩队长3 天前
Windows系统下的Git安装(2025年6月更新)