目录

Linux设置代理

linux终端设置代理

1
2
export http_proxy=http://192.168.123.3:7890
export https_proxy=http://192.168.123.3:7890

取消

1
2
export http_proxy=
export https_proxy=

git设置代理

1
2
git config --global http.proxy http://192.168.123.3:7890
git config --global https.proxy http://192.168.123.3:7890

取消

1
2
git config --global --unset http.proxy
git config --global --unset https.proxy