我在使用的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