GitHub - HTTPS访问 [英] GitHub - HTTPS access
问题描述
我无法通过HTTPS克隆我的存储库:
$ git clone https://github.com/walterjwhite/ project.configuration.git
在./project.configuration/.git/
中初始化空的Git仓库错误:无法连接到github.com:443;连接被拒绝,同时访问https://github.com/walterjwhite/project.configuration.git/info/refs
致命:HTTP请求失败
我已经用我的登录名和密码以及我连接的机器或服务器配置了.netrc。 方案
正如你在 GitHub支持, Scott Schacon 自己建议:
所以我想你的
.netrc
不正确或是什么?
尝试从你的中删除信息。
如果它不是GitHub服务器问题,它可能是你的防火墙。
和/或你的代理( git config --global http.proxy http:// user:password @ proxy:xxx
)。
I am unable to clone my repository via HTTPS:
$ git clone https://github.com/walterjwhite/project.configuration.git
Initialized empty Git repository in ./project.configuration/.git/
error: Failed connect to github.com:443; Connection refused while accessing https://github.com/walterjwhite/project.configuration.git/info/refs
fatal: HTTP request failed
I have configured .netrc with my login and password as well as the machine or server I am connecting to.
As you did saw yourself in GitHub support, Scott Schacon himself suggested:
So I guess your
.netrc
is incorrect or something?
Try removing the info from your.netrc
and cloning first (since it's a public repo).
If it isn't a GitHub server issue, it could be your firewall.
And/or your proxy (git config --global http.proxy http://user:password@proxy:xxx
).
这篇关于GitHub - HTTPS访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!