2021年8月13日, github不再支持用密码提交代码, 要使用token

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

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

github要token提交代码后, 提交不了的解决方法_abckingaa的博客-优快云博客

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值