相关疑难解决方法(0)

Git通过代理.克隆时导致407错误的原因是什么?

我正试图通过代理使用Git.我已经尝试过很多方面设置参数'git config --global',但在克隆存储库时总是没有成功.

我做了:

git config --global http.proxy http://DOMAIN\\\username:password@10.0.2.42:8080
git config --global http.sslverify false
git clone http://github.com/project/project.git
Run Code Online (Sandbox Code Playgroud)

我得到了:

$ git clone http://github.com/project/project.git folder
Cloning into 'folder'...
error: The requested URL returned error: 407 while accessing http://github.com/project/project.git/info/refs
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

那么,我如何调试它或启用Git中的登录以发现为什么我仍然收到407错误?Git中是否有一些参数可以详细说明发生错误的正确位置发生了什么?

git github

15
推荐指数
4
解决办法
6万
查看次数

标签 统计

git ×1

github ×1