GIT在克隆Git存储库时无法生成AskPass没有此类文件或目录 [英] GIT cannot spawn askpass No such file or directory while cloning Git repository

查看:329
本文介绍了GIT在克隆Git存储库时无法生成AskPass没有此类文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经推荐了许多站点来解决VS 2017 TFS中的Git存储库克隆.但无法修复它.请帮我.

I had referred many sites to solve Git repository clone in VS 2017 TFS. But unable to fix it. Please help me.

下面是Visual Studio版本详细信息.

Below are Visual Studio Version Details.

Microsoft Visual Studio Professional 2017

Microsoft Visual Studio Professional 2017

版本:15.9.1

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

Note: I had connected to open network with no proxy settings in LAN.

下面是我推荐的一些网站.

Below are some of sites i referred.

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失败,并显示>致命错误.无法读取

Visual Studio 2017-Git失败并出现致命错误

推荐答案

在几个地方都可以跟踪到此问题:

This issue is being tracked in a couple of places:

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

带有bitbucket的Visual Studio 2017,禁用了终端提示

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

I posted the following as a comment on the SO link:

我发现,只需从AzureDevOps.Authentication.dll 程序集/tag/v1.18.2"rel =" nofollow noreferrer>适用于Windows的Git凭据管理器v1.18.2 压缩文件,并将其放入C:\Program Files (x86)\Microsoft Visual Studio\2017\<<<VSEdition>>>\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\libexec\git-core文件夹后,我可以克隆 Dev.Azure.com 回购.

I discovered that simply grabbing the AzureDevOps.Authentication.dll assembly from the Git Credential Manager for Windows v1.18.2 zip file and dropping it into the C:\Program Files (x86)\Microsoft Visual Studio\2017\<<<VSEdition>>>\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\libexec\git-core folder allowed me to clone a Dev.Azure.com repo.

HTH.

山姆.

这篇关于GIT在克隆Git存储库时无法生成AskPass没有此类文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆