刪除代理即可。
具體操作如下:
1. git config --global --list
查看git配置
發現其中有 http.https.XXXXXX.proxy 和 https.https.XXXXXX.proxy配置
2.git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy
運行后,git恢復正常。
注意 --uset 的配置名稱應為查找的配置名稱,根據自身情況替換