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'

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章