我正在使用http代理。我试图用他们的“回购”工具克隆Android的源代码树。如何将`git:`url转换为`http:`url
该工具坚持使用git://
网址,即使http://
网址也适用。因此,我无法下载源代码。
是否有可能迫使git
总是使用http
?
编辑:我的http_proxy配置正确。例如,这个工程:
git clone http://android.git.kernel.org/platform/manifest.git
但这并不(错误=连接超时):
git clone git://android.git.kernel.org/platform/manifest.git
所以this answer并没有真正帮助我。
看到这个[前面的回答(http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy/397642#397642) 。 – 2009-11-12 15:03:45