以goagent的代理设置为例吧
exporthttp_proxy="http://127.0.0.1:8087"exporthttps_proxy="http://127.0.0.1:8087"
这样子gitbash的http和https访问都会走代理了,但是可能会涉及到https证书错误的问题,出现错误提示SSL certificate problem: unable to get local issuer certificate
gitconfig--globalhttp.sslVerifyfalse
本文链接地址: windows下git bash如何使用http、https代理
原创文章,转载请注明: 转载自奶牛博客
不做任何解释。没有人明白,