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