Loading

为给git设置代理

为给git设置代理

通过软件形式为git设置代理

命令(端口改为自己的端口):

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

当切换代理端口,需要取消代理时候

git config --global --unset http.proxy
git config --global --unset https.proxy
posted @ 2022-08-12 11:07  [X_O]  阅读(48)  评论(0编辑  收藏  举报