956 阅读 0 评论 2023-12-31 16:02:03
配置socks5代理
git config --global http.proxy socks5 127.0.0.1:10808
git config --global https.proxy socks5 127.0.0.1:10808配置http代理
git config --global http.proxy 127.0.0.1:10809
git config --global https.proxy 127.0.0.1:10809查看代理
git config --global --get http.proxy
git config --global --get https.proxy取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy