1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| alias proxy=" git config --global http.proxy socks5://127.0.0.1:2080 export http_proxy=http://127.0.0.1:7777 export https_proxy=http://127.0.0.1:7777 export all_proxy=http://127.0.0.1:7777 export no_proxy=localhost,127.0.0.0/8,::1 export HTTP_PROXY=http://127.0.0.1:7777 export HTTPS_PROXY=http://127.0.0.1:7777 export ALL_PROXY=http://127.0.0.1:7777 export NO_PROXY=localhost,127.0.0.0/8,::1"
alias unproxy=" git config --global --unset http.proxy unset http_proxy unset https_proxy unset all_proxy unset no_proxy unset HTTP_PROXY unset HTTPS_PROXY unset ALL_PROXY unset NO_PROXY"
|