GIT 设置 代理
最近要拉一些源码学习一下,GIT像便秘一样,无奈之下.....
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
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:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
因为我用了CloudCave,Windows 用了SSR ,直接开本地代理
注意上面 “开启代理” 不要勾选!
只勾选下面 “本地代理” 即可

ubuntu设置一下桥接
git设置全局代理

git config --global http.proxy 192.168.1.5:10000
附:
1.widora的代理下载网站:g.widora.cn
2.widora的openwrt的dl:http://dl.widora.cn/dl/

浙公网安备 33010602011771号