git设置socks代理
2018-03-15 本文已影响25人
bboysoul

概述
不知道为什么今天我访问github这么慢,没办法给git设置socks代理吧
设置代理
终端下执行
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
删除代理
git config --global --unset http.proxy
git config --global --unset https.proxy
最后
没错就是这么简单,有问题的可以找我
欢迎关注Bboysoul的博客www.bboysoul.com
Have Fun