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
原因: GitHub updated their security requirements on the server side。他们不再支持TLS 1.0和1.1,只有1.2。用于Windows版本的旧版Git Credential Manager使用1.0。
解决方案:更新Git for Windows.版本2.14.3和更新版本包括最新的Windows Git凭据管理器。
或者,您只能更新Git Credential Manager for Windows本身。它从版本1.14.0开始支持TLS 1.2。