Git Remote Operations (Fetch/Pull/Push) not working on Visual Studio 2022

Viewed 563

I am unable to push/pull/fetch from Git in VS2022. Getting below error:

ssh_askpass: exec(c:/program files/microsoft visual studio/2022/enterprise/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core\\git-askpass.exe): No such file or directory
git@****: Permission denied (publickey).
Git failed with a fatal error.
Git failed with a fatal error.
Could not read from remote repository.

I can't find the git-askpass.exe in the path mentioned.

I am able to push/pull/fetch from Git CMD though. It asks for the ssh passphrase and connects successfully. Only in Visual Studio it is not working.

VS2022 version is 17.1.2

Are there any extra configurations to do in Visual Studio to make Git work successfully?

0 Answers
Related