簡體   English   中英

無法通過HTTP使用Git進行克隆

[英]Unable to clone using Git over HTTP

我在不允許使用git://的代理后面。 所以我需要使用git在http上結帳。 為此,我已經在git中使用設置了我的代理,

git config --global http.proxy http://172.30.0.16:3128

但是,我只能克隆幾個存儲庫,而在另一些存儲庫上卻出現錯誤。 例如:

git clone http://github.com/jcnetdev/yubnub.git

工作完美,而

https://github.com/ferhatelmas/InterviewStreet.git

這將返回以下錯誤

Cloning into InterviewStreet...
warning: remote HEAD refers to nonexistent ref, unable to checkout.

在運行git clone http://anongit.kde.org/calligra ,出現以下錯誤

Cloning into calligra...
error: The requested URL returned error: 502 while accessing http://anongit.kde.org/calligra/info/refs

你能幫我么。

重新安裝git為我解決了同一問題

我發現問題出在僅部分HTTP支持的KDE git托管。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM