An error was reported when pushing the code to GitHub today:
the reason is that GitHub does not support the password authentication scheme, so use personal access token
instead.
Solution
Generate token on GitHub
Settings -> Developer Settings -> Personal Access Token -> Generate New Token -> Check – > Click generate token – > Copy the generated token
Change the local certificate to personal access token
Control panel – > Credential manager – > Windows credentials – > Locate git: https://github.com
, just change the credentials to the previously generated token.
For other platforms, please refer to support for password authentication was removed. Please use a personal access token instead [duplicate]