设置代理:
//http || https
git config --global http.proxy 127.0.0.1:7897
git config --global https.proxy 127.0.0.1:7897
//sock5代理
git config --global http.proxy socks5 127.0.0.1:7897
git config --global https.proxy socks5 127.0.0.1:7897
查看代理:
git config --global --get http.proxy
git config --global --get https.proxy
取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy

© 版权声明
- 本博客所拥有的文章除特别声明外,均默认采用 CC BY 4.0 许可协议。
- 文章部分内容可能来源于公共网络,如有侵权,请联系博主在核实后进行修改或删除。
THE END
暂无评论内容