Happyjava's blog site

Happyjava's blog site,分享编程知识,顺便发发牢骚

0%

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

最近用Git每次push/pull都会弹框要我重新输入账号密码,输入之后还报错:

1
2
3
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/'

后来找到这样一个说明:

1
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后问题解决。