git 修改http.proxy
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
本文详细介绍了如何使用gitconfig命令配置Git的HTTP和HTTPS代理,包括设置SOCKS5代理及如何清除代理设置的方法。同时也提到了npm配置代理的删除操作。
2337





