1、git
set:
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080
unset:
git config --global --unset http.proxy
git config --global --unset https.proxy
2、terminal
3、conda
edit configuration file ~/.condarc
add:
proxy_servers:
http: socks5://127.0.0.1:1080
https: socks5://127.0.0.1:1080