Git不断弹框输入帐号密码:Logon failed, use ctrl+c to cancel basic credential prompt

最近用Git每次push/pull都会弹框要我从新输入帐号密码,输入以后还报错:git

Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Anonymous access to Rhilip/PT-help.git denied.
fatal: Authentication failed for 'https://github.com/Rhilip/PT-help.git/'
复制代码

后来找到这样一个说明:github

We've turned off TLS v1.0 and v1.1 for the next hour as we move toward permanently disabling them. Check out https://githubengineering.com/crypto-removal-notice/ … to learn more about our plans to deprecate weak crypto standards.
复制代码

我猜应该是本地的Git版本旧了,更新到最新版本Git后问题解决。markdown