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.youkuaiyun.com/abckingaa/article/details/120802667

从2021年8月13日起,GitHub不再支持使用密码进行Git操作,转而要求使用token进行身份验证。开发者遇到无法连接到仓库的问题,如'Cannot open git-receive-pack'或'Authentication not supported',需参考相关教程设置个人访问令牌以继续安全地提交代码。
894

被折叠的 条评论
为什么被折叠?



