idea设置http代理后,可以登录github但无法clone代码。
需要在Git bash
中也设置代理
-
设置代理
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
网友评论