Zal*_*mar 36 git visual-studio-2017
这是我在visual studio上的错误.我无法弄清楚是否有配置来解决这个问题.另外,我被限制安装git命令行工具.
Error encountered while pushing to the remote repository: Git failed with a fatal error.
fatal: HttpRequestException encountered.
An error occurred while sending the request.
error: cannot spawn askpass: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Run Code Online (Sandbox Code Playgroud)
Lac*_*lov 32
只需将Visual Studio更新到最新版本即可修复.为我工作.
小智 30
原因: GitHub在服务器端更新了他们的安全要求.他们不再支持TLS 1.0和1.1,只有1.2.用于Windows版本的旧版Git Credential Manager使用1.0.
解决方案:更新Windows的Git.版本2.14.3和更新版本包括最新的Windows Git凭据管理器.
或者,您只能更新Windows自身的Git Credential Manager.它从版本1.14.0开始支持TLS 1.2.
| 归档时间: |
|
| 查看次数: |
24471 次 |
| 最近记录: |