如何让git使用代理服务器?
我需要从git服务器检出代码,每次都显示"Request timed out".我该如何解决这个问题?
或者,如何设置代理服务器?
问 - 我安装了git来获取最新版本的Angular.当我试着打电话
git clone https://github.com/angular/angular-phonecat.git
Run Code Online (Sandbox Code Playgroud)
我无法连接到github 443错误
我甚至试过了
git clone git://github.com/angular/angular-phonecat.git
Run Code Online (Sandbox Code Playgroud)
这使我无法连接没有错误消息.
我在公司防火墙后面.当我去control panel->Internet Options -> connections -> lan setting.IT 时,我不能看到我的代理详细信息.我不会与我共享代理信息.我不知道该怎么办 ??
我终于设法做到了.我将更新我所采取的程序,以便编译我为使其工作而执行的所有步骤
git clone https://github.com/RubyLouvre/avalon
Cloning into 'avalon'...
fatal: unable to access 'https://github.com/RubyLouvre/avalon/': Failed to connect to github.com port 443: Operation timed out
Run Code Online (Sandbox Code Playgroud)
我不能使用 HTTPS 来克隆任何 repo,但我可以通过 SSH 克隆它们。
git clone git@github.com:RubyLouvre/avalon.git
Cloning into 'avalon'...
remote: Counting objects: 33102, done.
remote: Compressing objects: 100% (44/44), done.
Run Code Online (Sandbox Code Playgroud)
这有什么问题?我什至设置了代理,但它仍然无法正常工作。我尝试了很多网络环境,但没有任何意义。