首页 > 技术文章 > git设置代理

chengloading 2019-02-28 11:34 原文

设置代理
git config --global http.proxy http://127.0.0.1:8080
git config --global https.proxy https://127.0.0.1:8080


取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy

推荐阅读