use*_*278 3 git github tortoisegit
我在Windows 7中使用TortoiseGit和MsysGit.我需要将存储库从github克隆到我的桌面.我右键单击 - > Git Clone-> https://github.com/username/sample.git.我得到的回复如下:
Cloning into 'D:\repo\sample'...
error: The requested URL returned error: 407 while accessing https://github.com/TruMobi/sample.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
我在TortoiseGit中完成了代理设置.请帮我解决这个问题.
HTTP 407表示您需要配置HTTP代理用户名/密码.我无法帮助您使用代理服务器或使用它的凭据 - 但无论您身在何处,我都会与网络人员联系.
您可以使用git config命令执行此操作.
$ git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
Run Code Online (Sandbox Code Playgroud)
我不确定TortoiseGit是否有用于设置此功能的UI,但它很可能会这样做.毫无疑问,它会尊重底层的git CLI设置,所以我只是为了确保这一点.
另外,请参阅此处以获取更多讨论.
| 归档时间: |
|
| 查看次数: |
5376 次 |
| 最近记录: |