Skip to content

Commit b73eff6

Browse files
committed
aosp: Use REPO_URL env
1 parent 22366c6 commit b73eff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/aosp.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ cd WORKING_DIRECTORY
5757
初始化仓库:
5858

5959
```shell
60+
# 如果提示无法连接到 gerrit.googlesource.com,可以设置 REPO_URL 环境变量:
61+
export REPO_URL=https://gerrit-googlesource.proxy.ustclug.org/git-repo
6062
repo init -u git://mirrors.ustc.edu.cn/aosp/platform/manifest
61-
## 如果提示无法连接到 gerrit.googlesource.com,可以编辑 ~/bin/repo,把 REPO_URL 一行替换成下面的:
62-
## REPO_URL = 'https://gerrit-googlesource.proxy.ustclug.org/git-repo'
6363
```
6464

6565
如果需要某个特定的 Android 版本

0 commit comments

Comments
 (0)