配置HTTP代理
git config --global http.proxy http://127.0.0.1:1080

配置Socks5代理
git config --global http.proxy socks5h://127.0.0.1:1080

查看代理配置
git config --global http.proxy

删除代理
git config --global --unset http.proxy

标签: none