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

I got this error on my console when i tried to push blog to github

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

Account passwords will no longer be accepted for authenticating Git operations.

You need to add a Personal Access Token instead, and you can follow the below method to add.

  1. Log in Github
  2. Go to User -> Settings -> Developer settings
  3. Click on Personal access tokens
  4. Config settings and Generate token
  5. Copy the token to replace username:password in hexo config.yml
  6. Push again
唐胡璐 wechat
欢迎您扫一扫上面的微信公众号,订阅我的博客!
分享创造价值,您的支持将鼓励我继续前行!