BY YangLuoNouWRITTEN ON HALO1 MIN READ

[实用]代理指令

命令行 export http_proxy=http://<windows-host-ip>:<port> export https_proxy=http://<windows-host-ip>:<port> git git config --global http.proxy 'http://1

命令行

export http_proxy=http://<windows-host-ip>:<port>
export https_proxy=http://<windows-host-ip>:<port>

git

git config --global http.proxy 'http://127.0.0.1:http端口号'
git config --global https.proxy 'https://127.0.0.1:https端口号'