gpt4 book ai didi

git - 使用 Git 1.8.4.2 安装 Homebrew (Mac OS X 10.7.5)

转载 作者:太空宇宙 更新时间:2023-11-03 14:33:37 24 4
gpt4 key购买 nike

我正在尝试通过以下两种方法在 Mac OS X Lion (10.7.5) 上安装 Homebrew:

  1. git clone https://github.com/Homebrew/brew.git。我得到的错误是:

fatal: unable to access 'https://github.com/Homebrew/brew.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

  1. 通过下载 .zip 存档并运行 /usr/local/homebrew/bin/brew install wget。同样的错误:

error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
protocol version while accessing https://github.com/Homebrew/homebrew-core/info/refs?service=git-upload-pack

我使用的是 Git 版本 1.8.4.2,因为我使用的是旧版 OS X。有什么方法可以调整 SSL 设置以使其正常工作吗?

重申:我无法运行高于 1.8.4.2 的 git,因为我使用的是旧版 OS X。因此,告诉我更新到较新版本的 git 有点表明你没有阅读或理解这个问题首先。

最佳答案

使用 Tigerbrew 解决的问题.

关于git - 使用 Git 1.8.4.2 安装 Homebrew (Mac OS X 10.7.5),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50269652/

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