私はUbuntu OSで作業しています。 私はこのようなgit.gnome.orgからいくつかのリポジトリをクローンしてみました -
git clone git://git.gnome.org/newcomers-tutorial
Cloning into "newcomers-tutorial"...
fatal: unable to connect to git.gnome.org:
git.gnome.org[0: 209.132.180.184]: errno=Connection timed out
そして、http:// -
git clone http://git.gnome.org/newcomers-tutorial
Cloning into "newcomers-tutorial"...
fatal: http://git.gnome.org/newcomers-tutorial/info/refs not found: did you run git update-server-info on the server?
一方、私がgithubから他のレポをクローンすれば、それはうまくクローン化される。 といった -
git clone https://github.com/arduino/Arduino.git
Cloning into "Arduino"...
remote: Counting objects: 53558, done.
remote: Compressing objects: 100% (617/617), done.
^Cceiving objects: 11% (5996/53558), 23.67 MiB | 1.41 MiB/s
私はプロキシの背後で働いていて、すでにそれを設定しています -
git config --global http.proxy $http_proxy
どんな助け?
回答:
回答№1は2gitプロトコルは特別なポート(9418)を使用しています。これはプロキシの背後で作業していますが、ブロックされる可能性があります。
httpクローニングに関しては、 のウェブページ newcomers-tutorial
レポ の https URLではなく、http:
git clone https://git.gnome.org/browse/newcomers-tutorial
httpsプロキシも最初に設定してください:
git config --global https.proxy $http_proxy