1. 查看git的配置git
git config --global --list| grep -i proxyspa
若是有内容输出,那么unset配置项,如:it
git config --global --unset http.proxy变量
2. 查看环境变量配置
env | grep -i proxy终端
若是有内容输出,那么unset输出的变量,须要退出当前终端哦grep
unset http_proxy环境变量