通过goagent访问github

来源:互联网 发布:淘宝代付安全吗 编辑:程序博客网 时间:2024/06/06 01:08

运行环境:

win7x64win8.1x64上使用msysgittortoise git的图形界面,goagent配置正常。

 

问题描述:

想让git通过goagent代理访问github

但是在tortoise git中进行了如下配置之后(127.0.0.1前的http://自动被省略):

 

进行pullpush等操作时会失败并提示:

ssl certificate problem verify that the ca cert is ok.

 

解决方案:

C:\Users\用户名\.gitconfig

文件中添加下面内容:

[http] 

   proxy =http://127.0.0.1:8087 

   sslVerify = false

(其中sslVerify为不进行SSL证书的验证,不设置会出现上述错误。)

 

转自:

http://lzqwebsoft.herokuapp.com/show/20130122034551.html

http://my.oschina.net/websoft/blog/103936


0 0
原创粉丝点击