Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GIT cannot spawn askpass No such file or directory while cloning Git repository [duplicate]

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

Below are Visual Studio Version Details.

Microsoft Visual Studio Professional 2017

Version : 15.9.1

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 failed with a > fatal error. could not read Username for

Visual Studio 2017 - Git failed with a fatal error

like image 707
PavanKumar GVVS Avatar asked Nov 07 '22 00:11

PavanKumar GVVS


1 Answers

This issue is being tracked in a couple of places:

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

Visual studio 2017 with bitbucket, terminal prompts disabled

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

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.

Sam.

like image 127
Sam C Avatar answered Nov 15 '22 05:11

Sam C