git设置,查看,取消代理

设置代理

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 --get http.proxy
git config --global --get https.proxy

取消代理

git config --global --unset http.proxy
git config --global --unset https.proxy
posted @ 2023-04-18 07:35  pmm-cnblogs  阅读(64)  评论(0)    收藏  举报