github upport for password authentication was removed on August 13, 2021. 错误解决

remote: Support for password authentication was removed on August 13, 2021. 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: unable to access "..." : The requested URL returned error: 403

原因:github移除了对密码的支持,须使用个人口令来进行push,操作方式:

github头像->setting->Developer settings->Personal access tokens->

1、Generate new token

或者2、点击进入你自己对应的token,regenerate这个token,然后就可以得到一串token,来使用

我用的是pycharm,举个例子,将得到的token,填入pycharm->settings->Github->use token->应用即可解决这个错误

上一篇:(改mysql版本数据库打不开)1251 Client does not support authentication问题


下一篇:AuthenticateResult--【AuthenticateResult->AuthenticationTicket->AuthenticationProperties】