Git命令设置http代理

设置

git config --global http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port

取消设置

git config --global --unset http.proxy

获取当前代理设置

git config --global --get http.proxy

已禁用评论。