2021年8月13日, github不再支持用密码提交代码, 要使用token.
官方的解释:https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/
As previously announced, starting on August 13, 2021, at 09:00 PST, we will no longer accept account passwords when authenticating Git operations on GitHub.com. Instead, token-based authentication (for example, personal access, OAuth, SSH Key, or GitHub App installation token) will be required for all authenticated Git operations. Please refer to this blog post for instructions on what you need to do to continue using git operations securely. Removal
- August 13, 2021, at 09:00 PST
大致意思是,密码验证于2021年8月13日不再支持,也就是今天intellij不能再用密码方式去提交代码。请用使用 personal access token 替代。
若遇到类似问题:
Can't connect to any repository: https://github.com/automvc/helloxxx.git
(https://github.com/automvc/helloxxx.git: cannot open git-receive-pack)
或者:
Can't connect to any repository: https://github.com/automvc/helloxxx.git
(https://github.com/automvc/helloxxx.git: authentication not supported)
可参考以下文章:
原文链接:https://blog.csdn.net/abckingaa/article/details/120802667