From 312c30c93ce3886ec35d94802897a4e0f78f144f Mon Sep 17 00:00:00 2001 From: neo Date: Sun, 26 Feb 2023 14:44:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0faq?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/faq.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/guide/faq.md b/docs/guide/faq.md index 2ecf4db..a22e1c9 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -27,6 +27,17 @@ export http_proxy=127.0.0.1:1088;export https_proxy=$http_proxy;export all_proxy unset http_proxy;unset https_proxy;unset all_proxy ``` +## 取消 git 代理 + +当遇到包含"Unsupported proxy syntax in"提示的问题是,和可能是设置了`git`代理,同时代理无法访问。 + +这个时候可以考虑重新打开代理,另外的方案就是取消代理方式: + +```shell +git config --global --unset http.proxy +git config --global --unset https.proxy +``` + ## No.1 的小秘籍 遇到解决不了的问题,先删除`homebrew`目录再重新运行脚本安装。