zl程序教程

您现在的位置是:首页 >  后端

当前栏目

cmd和bash,git设置代理的方法

代理方法Git 设置 cmd Bash
2023-09-11 14:17:26 时间
git config --global --unset http.proxy
git config --global --unset https.proxy

npm config delete proxy

git config --global http.proxy 'socks5://127.0.0.1:1082'
git config --global https.proxy 'socks5://127.0.0.1:1082'

git config --global http.proxy 'socks5://47.92.161.121:3000'
git config --global https.proxy 'socks5://47.92.161.121:3000'


export http_proxy='127.0.0.1:1082'
export https_proxy='127.0.0.1:1082'


set http_proxy='127.0.0.1:1082'
set https_proxy='127.0.0.1:1082'