在 git bash 中 输入
git config --global http.proxy xxx.xxx.xxx.xxx:xxxx。
若 遇到407错误(Received HTTP code 407 from proxy after CONNECT),此时代理认证没有通过,执行以下命令
git config --global https.proxy https://user:password@address:port
在 git bash 中 输入
git config --global http.proxy xxx.xxx.xxx.xxx:xxxx。
若 遇到407错误(Received HTTP code 407 from proxy after CONNECT),此时代理认证没有通过,执行以下命令
git config --global https.proxy https://user:password@address:port