随笔 - 298  文章 - 377  trackbacks - 0
<2018年1月>
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910

常用链接

留言簿(34)

随笔分类

随笔档案

文章档案

相册

收藏夹

搜索

  •  

最新评论

阅读排行榜

评论排行榜

chromium 代理完美解决办法

#git的代理设置

git config --global http.proxy http://127.0.0.1:1080

git config --global https.proxy https://127.0.0.1:1080

#winhttp的代理设置

netsh winhttp set proxy 127.0.0.1:1080

#cipd_client项目来源与https://github.com/luci/luci-go/tree/master/cipd/client/cipd

使用的是golong的net/http库访问http/https,可通过环境变量设置代理

set HTTP_PROXY=http://127.0.0.1:1080
set HTTPS_PROXY=https://127.0.0.1:1080
posted on 2017-12-20 13:39 聂文龙 阅读(1792) 评论(1)  编辑 收藏 引用

FeedBack:
# re: chromium .cipd_client 失败的解决办法 2018-01-05 23:02 聂文龙
# 设置ss
git config --global http.proxy 'socks5://127.0.0.1:1080'

git config --global https.proxy 'socks5://127.0.0.1:1080'

# 设置代理
git config --global https.proxy http://127.0.0.1:1080

git config --global https.proxy https://127.0.0.1:1080

# 取消代理
git config --global --unset http.proxy

git config --global --unset https.proxy  回复  更多评论
  

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理