Git Can';t在Visual Studio 2017中使用团队资源管理器拉或推
我在Visual Studio 2017中使用Git。从昨天开始,每次我尝试使用Team Explorer从远程存储库中推送或拉取时,都会出现以下错误:Git Can';t在Visual Studio 2017中使用团队资源管理器拉或推,git,visual-studio,team-explorer,Git,Visual Studio,Team Explorer,我在Visual Studio 2017中使用Git。从昨天开始,每次我尝试使用Team Explorer从远程存储库中推送或拉取时,都会出现以下错误: Git failed with a fatal error. HttpRequestException encountered. An error occurred while sending the request. HttpRequestException encountered. An error occurred while
Git failed with a fatal error.
HttpRequestException encountered.
An error occurred while sending the request.
HttpRequestException encountered.
An error occurred while sending the request.
cannot spawn askpass: No such file or directory
could not read Username for 'https://github.com': terminal prompts disabled
不久前我遇到了这个问题,我可以确认升级到GCM 1.14.0对我来说是可行的这很可能是因为GitHub关闭了早于1.2的TLS版本。Visual Studio 2017和Git for Windows都已更新。更多信息可在此处找到:
希望这有帮助 将Visual Studio更新到最新版本对我来说很有效。我的团队在几个不同的机器上遇到了这个问题,有几个不同的用户。我们用一个git命令解决了这个问题,该命令将windows凭据全局设置为credential.helper
在我们发出上述命令后,所有的克隆、推拉都像一个符咒一样工作。您只需确保存储在Windows凭据中的凭据是您想要使用的凭据。您可以尝试将git重新安装到
v。2.16.2
version-2018-02-15应与GCM版本v1.14.0.
和git版本2.16.2.windows.1
一起使用。
git config --global credential.helper wincred