Git 设置与取消代理
未开启 plp
设置
gedit ~/.gitconfig
添加
[http]
proxy = socks5://127.0.0.1:1080
[https]
proxy = socks5://127.0.0.1:1080
取消
rm ~/.gitconfig
开启 plp
设置
gedit ~/.gitconfig
添加
[http]
proxy = http://127.0.0.1:8123
[https]
proxy = https://127.0.0.1:8123
取消
rm ~/.gitconfig
尽情享用吧~