解决window10遇到的Support for password authentication was removed on August 13, 2021.

从8月13日起GitHub不再支持密码验证

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access ‘https://github.com/zhoulujun/algorithm.git/’: The requested URL returned error: 403

解决方案

1、选择“Settings”
在这里插入图片描述
2、选择“Developer settings”
在这里插入图片描述
3、选择“Personal access token”
在这里插入图片描述
4、选择“Generate new token”
在这里插入图片描述
5、输入Note,有效期我设置了无限长,选择范围全选
在这里插入图片描述
生成了access token(这个token一定要保存好,因为之后就看不到了)
在这里插入图片描述
6、在password时输入上面生成的token即可
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_44997147/article/details/119755878