- 国内三大免费源:
- 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
相关推荐
vibecoding日记2 天前
为什么我就想要「线性历史 + Signed Commits」,GitHub 却把我当猴耍 🤬🎙️程序员小崔日记3 天前
如何将代码轻松上传到 Gitee?Git 使用全攻略!Bigger4 天前
为什么你的 Git 提交需要签名?—— Git Commit Signing 完全指南DianSan_ERP4 天前
电商API接口全链路监控:构建坚不可摧的线上运维防线红豆子不相思5 天前
Tomcat 环境搭建与集群实战杰哥技术分享5 天前
Git 仓库迁移技术文档:从 CODING.net 迁移至腾讯云 CNB梅孔立5 天前
Ansible 100 台服务器一键管控实战 进阶版qq_426003965 天前
git切换当前分支到远程分支ON10N5 天前
100% 纯 Vibe Coding,我是怎么用 AI 撸出一个 VS Code 插件的