我在使用的Visual Studio 2017年的任何版本时,从Visual Studio团队服务本地克隆库的问题,从森林狼队服务的存储库。这里是我得到的错误:无法在本地克隆使用Visual Studio的任何版本的2017年
Error encountered while cloning the remote repository: Git failed with a fatal error.
fatal: Win32Exception encountered.
Failed to write credentials
error: cannot spawn askpass: No such file or directory
fatal: could not read Username for 'https://XXX.visualstudio.com':terminal prompts disabled
我有另一台运行Visual Studio 2015的计算机,一切正常。我有这个问题有什么理由吗?
是否能重现在其他机器上这个问题已经VS 2017安装?什么是VS 2017的详细版本?您可以升级到最新版本,然后重试。另一方面,尝试安装最新版本的git for windows。类似问题:https://social.msdn.microsoft.com/Forums/vstudio/en-US/fb195b4b-4029-44d4-93a1-f6652a917cdb/unable-to-login-in-visual-studio-2017?forum=visualstudiogeneral –
您可能会修复VS并重试。 –
@ starain-MSFT,我修复了VS,我卸载了然后安装了Git for Windows,仍然没有运气。我卸载了VS2017企业版并安装了社区版本,但仍然没有任何进展。 – Richard77