gpt4 book ai didi

git - 如何解决 fatal : unable to access, Received HTTP code 400 from proxy after CONNECT

转载 作者:行者123 更新时间:2023-12-02 00:20:46 25 4
gpt4 key购买 nike

当我尝试使用 git pull origin master 获取 pull form master 时,出现以下代理错误。

严重:无法访问“https://github.com/xxx/xxx.git/”:CONNECT 后从代理接收到 HTTP 代码 400

我正在使用 macOS Mojave,我也没有配置任何代理服务器。有人知道如何解决这个问题吗?

最佳答案

just run rm ~/.gitconfig

也许试试:

git config --global --unset http.proxy
git config --global --unset https.proxy
git config --global --unset core.gitproxy

检查 git config -l --show-origin|grep -i proxy,确保你没有遗漏任何东西。

重点是:这比 rm ~/.gitconfig 的“破坏性”要小。

关于git - 如何解决 fatal : unable to access, Received HTTP code 400 from proxy after CONNECT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55451735/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com