git push origin master导致致命错误

时间:2011-06-07 12:14:13

标签: git http proxy github

我正在尝试在github上推送一个项目,但每当我git push origin master时,我都会收到此错误:

error: Couldn't resolve proxy 'kp.proxy.com' while accessing https://github.com/rabidmachine9/node-supercollider.git/info/refs

fatal: HTTP request failed

编辑:git版本1.7.3.1,OS X 10.5.8,kp.proxy.com无法确定,我不打算使用代理。 ..我只是不知道如何摆脱它......

请帮忙!

2 个答案:

答案 0 :(得分:7)

您似乎已将Git配置为使用代理服务器。但服务器kp.proxy.com无法解决(至少对我而言)。

你有代理集吗?检查echo $http_proxy。你可以unset http_proxy

另外,请检查.git / config并删除代理或设置工作代理(详情请参阅documentation

答案 1 :(得分:2)

我刚刚遇到同样的问题&然后发现这篇文章@ GitHub:https://github.com/blog/809-git-dumb-http-transport-to-be-turned-off-in-90-days

/ dumb http!