相关疑难解决方法(0)

git clone是否可以通过NTLM代理工作?

我试过用export http_proxy=http://[username]:[pwd]@[proxy]git config --global http.proxy http://[username]:[pwd]@[proxy].

我无法让它发挥作用.看起来git使用Basic身份验证:

Initialized empty Git repository in /home/.../.git/
* Couldn't find host github.com in the .netrc file, using defaults
* About to connect() to github.com port 8080 (#0)
*   Trying 10.... * Connected to github.com (10....) port 8080 (#0)
* Proxy auth using Basic with user '...'
> GET http://github.com/sunlightlabs/fiftystates.git/info/refs HTTP/1.1
Proxy-Authorization: Basic MD...
User-Agent: git/1.6.1.2
Host: github.com
Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive

< HTTP/1.1 407 Proxy Authentication Required ( …
Run Code Online (Sandbox Code Playgroud)

git proxy curl ntlm

18
推荐指数
6
解决办法
2万
查看次数

标签 统计

curl ×1

git ×1

ntlm ×1

proxy ×1