git设置、查看、取消代理
设置代理:前提你得有代理哈git config --global http.proxy http://127.0.0.1:7890git config --global https.proxy 'socks5://127.0.0.1:7891'查看代理:git config --global --get http.proxygit config --global --get https.proxy
文章共90字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
设置代理:前提你得有代理哈
设置代理:
//http || https
git config --global http.proxy 127.0.0.1:7890
git config --global https.proxy 127.0.0.1:7890
//sock5代理
git config --global http.proxy socks5 127.0.0.1:7891
git config --global https.proxy socks5 127.0.0.1:7891
查看代理:
git config --global --get http.proxy
git config --global --get https.proxy
取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
更多推荐
已为社区贡献2条内容
所有评论(0)