【问题标题】:GIT cannot spawn askpass No such file or directory while cloning Git repository [duplicate]克隆Git存储库时,GIT无法产生askpass没有这样的文件或目录[重复]
【发布时间】:2019-04-20 04:18:29
【问题描述】:

我参考了许多网站来解决 VS 2017 TFS 中的 Git 存储库克隆问题。但无法修复它。请帮我。

以下是 Visual Studio 版本详细信息。

Microsoft Visual Studio 专业版 2017

版本:15.9.1

注意:我已连接到开放网络,但 LAN 中没有设置代理。

以下是我推荐的一些网站。

https://developercommunity.visualstudio.com/content/problem/176703/git-cannot-spawn-askpass-no-such-file-or-directory.html

https://developercommunity.visualstudio.com/content/problem/19752/git-cant-clone-remote-repository.html

Git failed with a > fatal error. could not read Username for

Visual Studio 2017 - Git failed with a fatal error

【问题讨论】:

  • 你的问题是什么?错误?
  • 连接到 TFS 管理连接后,我无法在 VS 2017 中克隆特定项目的 git 存储库。错误:git 致命错误。有关更多详细信息,我已经在问题本身中提到了,并且在描述中已经提到了相关链接。
  • 详细错误:Git 因致命错误而失败。遇到 HttpRequestException。发送请求时出错。无法生成/c/program files (x86)/microsoft visual studio/2017/professional/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core/git-askpass.exe:没有文件或目录无法读取“XYZ-ai.visualstudio.com”的用户名:终端提示已禁用请帮助我。我已经升级到 VS 15.9.2 版本。但仍然面临同样的问题。

标签: git visual-studio github visual-studio-2017 azure-devops


【解决方案1】:

正在几个地方跟踪此问题:

https://github.com/github/VisualStudio/issues/949

Visual studio 2017 with bitbucket, terminal prompts disabled

我在 SO 链接上发表了以下评论:

我发现只需从 Git Credential Manager for Windows v1.18.2 zip 文件中获取 AzureDevOps.Authentication.dll 程序集并将其放入 C:\Program Files (x86)\Microsoft Visual Studio\2017\<<<VSEdition>>>\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\libexec\git-core 文件夹中,我就可以克隆 Dev.Azure。 com 回购。

HTH。

山姆。

【讨论】:

  • 对我不起作用
猜你喜欢
  • 2015-07-29
  • 1970-01-01
  • 2023-04-01
  • 1970-01-01
  • 1970-01-01
  • 2021-09-01
  • 2018-11-23
  • 2012-05-06
相关资源
最近更新 更多