Maybe we will get some question when we download source code at school.
Because Google ban ips when to much student checkout source code with the same ip.
Then we must:
1.sign in https://android.googlesource.com/new-password with gmail acount
2.click something to allow and get some message like:
machine android.googlesource.com login git-<userName>.gmail.com password <password>
machine android-review.googlesource.com login git-<userName>.gmail.com password <password>
3.copy it into ~/.netrc if u'r in ubuntu or some else linux.
4.retry :
repo init -u https://android.googlesource.com/a/platform/manifest
REFERENCE
http://blog.youkuaiyun.com/thl789/article/details/7524232
本文介绍了解决在学校同一IP下多名学生下载Android源代码遇到限制的方法。具体步骤包括:通过Gmail帐户在特定网址重置密码,获取登录信息并将其添加到~/.netrc文件中,最后重新初始化仓库。
277

被折叠的 条评论
为什么被折叠?



