Idea访问githu项目失败问题解决,git 配置代理

1.查看代理

git config --global -l

2.添加代理端口

git config --global http.proxy http://127.0.0.1:4780
git config --global https.proxy http://127.0.0.1:4780

3.取消指定代理

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

4.取消全部代理

git config --global --unset http.proxy 
git config --global --unset https.proxy

你可能感兴趣的:(intellij-idea,git,java)