解决 git clone 无法连接 github 的问题

只让 github.com 走代理,其他不受影响

git config --global url."https://github.com/".insteadOf "https://github.com/"
git config --global http.https://github.com.proxy http://127.0.0.1:7890

移除 github.com 代理配置

git config --global --unset url."https://github.com/".insteadOf
git config --global --unset http.https://github.com.proxy

验证是否清除干净

git config --global -l | grep proxy