在Windows下给cmd设置代理
2020年3月3日 00:00
cmd打开方法
按住win+R键,调出一个运行框,接着输入cmd并回车即可
设置cmd代理
一般性使用的如果是ShadowsockR的话,代理端口都是1080,v2ray的话则是10808
ShadowsocksR
set http_proxy=http://127.0.0.1:1080set https_proxy=http://127.0.0.1:1080v2ray
set http_proxy=http://127.0.0.1:10808set https_proxy=http://127.0.0.1:10808为git设置代理
ShadowsocksR
git config --global http.proxy http://127.0.0.1:1080git config --global https.proxy http://127.0.0.1:1080v2ray
git config --global http.proxy http://127.0.0.1:10808git config --global https.proxy http://127.0.0.1:10808