1、问题:
- remote: Support for password authentication was removed on August 13, 202x. 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: Authentication failed for 'https://github.com/Code7Rain/CodeRain.github.io.git/'
2、场景
Hexo + GitHub 搭建的个人博客使用新机器提交。
3、原因
原先的密码凭证不能用了,要使用个人访问令牌(personal access token)。
4、解决方案
点击上图 Generate new token ,复制产生 token 去重新验证即可。