git配置代理的方式
如果你想给git配置代理,有2种方式,第一种是通过git config来设置
git config set http.proxy="http://127.0.0.1:7894"
git config set https.proxy="http://127.0.0.1:7894"
第二种是通过环境变量的设置临时的代理。
export https_proxy="http://127.0.0.1:7894"
export https_proxy="http://127.0.0.1:7894"
复制请注明出处,在世界中挣扎的灰太狼

浙公网安备 33010602011771号