微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

[Bug0014] Hexo+Github 搭建博客报错 :remote: Support for password authentication was removed on August 13,

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 去重新验证即可。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐