我正在使用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