Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

昨天在自己的电脑上按照官方文档配置了Personal access tokens,今天在另一台电脑上拉取代码的时候出现了remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

这是官方文档的解释:https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/

配置 Personal access tokens

image-20210816105835421

生成一个token,Generate new token

电脑修改Github密码

如果你是window的话,打开控制面板,进入控制面板\用户帐户\凭据管理器\windows凭据,找到你的github配置项,编辑密码,也就是刚刚新生成的Personal access tokens,ghp_开头。

image-20210816110423212

Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

http://fahsa.cn/gittxt/git-logs1/

作者

Fahsa

发布于

2021-08-16

更新于

2021-08-23

许可协议

评论