git 设置和取消代理 设置如下: 1 git config --global https.proxy http://127.0.0.1:1080 1 git config --global https.proxy https://127.0.0.1:1080 1 git config --global http.proxy 'socks5://127.0.0.1:1080' 1 git config --global https.proxy 'socks5://127.0.0.1:1080' 取消 1 git config --global --unset http.proxy 1 git config --global --unset https.proxy