gpt4 book ai didi

git - 无法从 github Visual Studio 2013 克隆 repo

转载 作者:行者123 更新时间:2023-12-05 06:36:09 24 4
gpt4 key购买 nike

我正在尝试使用 Visual Studio 2013 的原生 git 集成从 github(具体来说是 https://github.com/bhilburn/powerlevel9k,但所有 github 存储库都以同样的方式失败)克隆一个项目。

我尝试转到"file"->“从源代码管理打开”。这将打开左侧的“团队资源管理器”窗口。然后,我单击“本地 Git 存储库”标题下的“克隆”下 pull 面板。之后,我输入 powerlevel9k 的 URL。然后 VS2013 给了我一条非常无用的消息:“发生错误。详细消息:发送请求时发生错误。”

Unhelpful Error Message

我卡住了。我不知道在这里做什么。我尝试的任何事情似乎都不起作用。我尝试过的所有 github 存储库都给我完全相同的错误消息。

如果有人能帮我解决这个问题,我将不胜感激。

最佳答案

我们最近在移动一些 Git 存储库时遇到了同样的错误。在我们的案例中,问题是 GitHub 不再支持 TLSv1 或 TLSv1.1 协议(protocol),如 this GitHub posting 中所述.

On February 8, 2018 we’ll start disabling the following: TLSv1/TLSv1.1: This applies to all HTTPS connections, including web, API, and git connections to https://github.com and https://api.github.com.

这些是 Visual Studio 2013 在其 Git 集成中使用的协议(protocol)。 post on the Microsoft Developer community建议升级到最新版本的 Visual Studio 2017。

在我们可以升级到 Visual Studio 2017 之前,我们暂时使用了 a Visual Studio add-in for 2013 .该加载项允许 Visual Studio 使用 TLSv1.2 协议(protocol)。

关于git - 无法从 github Visual Studio 2013 克隆 repo,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49263366/

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