git设置和取消代理

设置代理

git config --global http.proxy socks5://127.0.0.1:10808

其中10808为本机的socks端口

取消代理

git config --global --unset http.proxy

posted @ 2023-08-03 16:46  qqtang0411  阅读(154)  评论(0)    收藏  举报