Using git with proxy

来源:互联网 发布:余文乐的潮牌淘宝店铺 编辑:程序博客网 时间:2024/04/29 16:40

set

git config –global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config –global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080

unset

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

get

git config –global –get http.proxy
git config –global –get https.proxy

Reference:
- Getting git to work with a proxy server

0 0
原创粉丝点击