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.
- Log in Github
- Go to
User -> Settings -> Developer settings
- Click on Personal access tokens
- Config settings and Generate token
- Copy the token to replace username:password in hexo config.yml
- Push again