β

How to Set Proxy for Git

memoryboxes blog 4 阅读

全局设置和取消:

git config --global https.proxy http://127.0.0.1:1080

git config --global https.proxy https://127.0.0.1:1080

git config --global --unset http.proxy

git config --global --unset https.proxy

local设置和取消:

git config  https.proxy http://127.0.0.1:1080

git config  https.proxy https://127.0.0.1:1080

git config  --unset http.proxy

git config  --unset https.proxy
作者:memoryboxes blog
原文地址:How to Set Proxy for Git, 感谢原作者分享。

发表评论