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。
下载
为了方便可以将其拷贝到你的PATH
里。
更新
repo 的运行过程中会尝试访问官方的 git 源更新自己,如果想使用镜像源进行更新,可以将如下内容复制到你的~/.bashrc
里
并重启终端模拟器。