如何指向Git使用cntlm [英] How to point Git to use cntlm

查看:171
本文介绍了如何指向Git使用cntlm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作在一个代理之后,我无法访问github.com。我读过cntlm可以解决这个问题。

I am working behind a proxy and I can't access github.com. I read that cntlm can fix this issue. I am still struggling with filling the proxy information.

所以我的问题是,如何指向Git使用cntlm绕过代理?

So my question is, how to point Git to use cntlm to bypass the proxy?

推荐答案

对于git版本1.7.10和更高版本,您不需要CNTLM,因为它是您的情况。

You don't need CNTLM for git version 1.7.10 and newer, as it's your case.

请在此处查看我的答案 https://stackoverflow.com/a/10848870 / 352672 ,你可以这样配置/测试:

See my answer here https://stackoverflow.com/a/10848870/352672 for details, you can just configure/test this way:

git config --global http.proxy http://user:password@proxy.com:port
git clone http://git.gnome.org/browse/gnome-contacts

这篇关于如何指向Git使用cntlm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆