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

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'

 

posted @ 2020-09-07 13:59  方方和圆圆  阅读(646)  评论(0编辑  收藏  举报

再过一百年, 我会在哪里?