Git 扩展之全局配置

2019-10-14  本文已影响0人  周老一员

配置代理

设置代理

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

取消代理

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

查看当前已设置的代理

git config --global --get http.proxy 
git config --global --get https.proxy
上一篇 下一篇

猜你喜欢

热点阅读