idea、gitbash使用http代理设置
2019-11-13 本文已影响0人
Mint_Grass
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