首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

osx停设置git使用goagent代理

2013-11-08 
osx下设置git使用goagent代理git config --global https.proxy 127.0.0.1:8087?制定crt证书git config --g

osx下设置git使用goagent代理
git config --global https.proxy 127.0.0.1:8087

?制定crt证书

git config --global http.sslCAinfo /***/***/goagent/local/CA.crt 

?然后就OK了。

?

原博文中的设置的是http.proxy,而我这么设置之后,却无法clone:

git clone https://github.com/****/***proj.git

Cloning into '***proj'...

error: RPC failed; result=22, HTTP code = 500

fatal: The remote end hung up unexpectedly

?

所以我只能去掉http.proxy,去掉http代理命令如下

git config --global --unset http.proxy

?重新设置https.proxy,这才OK的。

?

祝各位好运!

热点排行