Git Repo 镜像使用帮助

Repo is a tool that we built on top of Git. Repo helps us manage the many Git repositories, does the uploads to our revision control system, and automates parts of the Android development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path.

当前repo主要用于同步AOSP、chromium及chromium OS。

下载

curl https://mirrors.qlu.edu.cn/git/git-repo -o repo
chmod +x repo

为了方便可以将其拷贝到你的PATH里。

更新

repo的运行过程中会尝试访问官方的git源更新自己,如果想使用tuna的镜像源进行更新,可以将如下内容复制到你的~/.bashrc

export REPO_URL='https://mirrors.qlu.edu.cn/git/git-repo'

并重启终端模拟器。

本站由齐鲁工业大学网络信息中心支持创办,由网络运维部进行维护。

齐鲁工业大学网络信息中心网络运维部,负责办公区与教学区的网络设施维护、以及学校教育网的建设保障工作。

本站相关源码可在 这里获取。

本站基于清华大学TUNA开源的mirror-webtunasync项目,感谢TUNA为国内开源生态作出的伟大贡献

Contact Us

Powered By

resp

本镜像服务器由国家超级计算济南中心
山河超级计算平台强力驱动。

本站由齐鲁工业大学网络信息中心支持创办,由网络运维部进行维护。

齐鲁工业大学网络信息中心网络运维部,负责办公区与教学区的网络设施维护、以及学校教育网的建设保障工作。

本站相关源码可在 这里获取。

本站基于清华大学TUNA开源的mirror-webtunasync项目,感谢TUNA为国内开源生态作出的伟大贡献

Contact Us

Powered By

resp

本镜像服务器由国家超级计算济南中心
山河超级计算平台强力驱动。

github