mac http&git代理配置


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://proxy.somewhere.com:80
export HTTPS_PROXY=http://proxy.somewhere.com:80

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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM