无法连接到 GitHub.com 进行克隆 [英] Unable to Connect to GitHub.com For Cloning
本文介绍了无法连接到 GitHub.com 进行克隆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试克隆 angular-phonecat git 存储库,但我得到以下信息当我在 Git Bash 中输入命令时的消息:
I am trying to clone the angular-phonecat git repository, but I am getting the following message when I enter the command in my Git Bash:
$ git clone git://github.com/angular/angular-phonecat.git
Cloning into 'angular-phonecat'...
fatal: unable to connect to github.com:
github.com[0: 204.232.175.90]: errno=No error
推荐答案
您可能在防火墙后面.尝试通过 https 进行克隆 - 这样更有可能不被阻止:
You are probably behind a firewall. Try cloning via https – that has a higher chance of not being blocked:
git clone https://github.com/angular/angular-phonecat.git
这篇关于无法连接到 GitHub.com 进行克隆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文