git
http/https
git config --global http.proxy http://127.0.0.1:10808
git config --global https.proxy http://127.0.0.1:10808
socks5
git config --global http.proxy 'socks5://127.0.0.1:10809'
git config --global https.proxy 'socks5://127.0.0.1:10809'
取消
git config --global --unset http.proxy
git config --global --unset https.proxy
读取
git config --global --get http.proxy
git config --global --get https.proxy
npm
设置
npm config set proxy http://127.0.0.1:10808
npm config set https-proxy http://127.0.0.1:10808
取消
npm config delete proxy
npm config delete https-proxy
读取
npm config list
我刚上班时真的孤陋寡闻 我知道git 但却没听过svn
哈哈