repo init 时提示:fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

本打算在桌面ubuntu 16中安装curl、repo,再同步供应商的代码,在repo init时遇到如下问题:

repo init 时提示:fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle_第1张图片

 由于:谷歌的镜像源我们不一定能访问,更改镜像源就好了,使用清华源:

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

然后再repo init试试。

你可能感兴趣的:(linux,linux,repo)