美文网首页iOS学习小集
mac http&git代理配置

mac http&git代理配置

作者: 谭冉冉 | 来源:发表于2018-01-07 15:08 被阅读254次

git代理清除
git config --global --unset http.proxy
git config --global --unset https.proxy

输出代理:
$echo $http_proxy
$echo $https_proxy
$echo $HTTPS_PROXY
$echo $HTTP_PROXY

http代理配置:
export HTTP_PROXY=http://127.0.0.1:1080
export HTTPS_PROXY=http://127.0.0.1:1080

git代理配置:
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080

相关文章

网友评论

    本文标题:mac http&git代理配置

    本文链接:https://www.haomeiwen.com/subject/otopnxtx.html