Support for password authentication was removed on August 13, 2021. Please use a personal access tok

问题:

Support for password authentication was removed on August 13, 2021. Please use a personal access tok

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.

办法:

访问相应网站,按步骤创建personal access token,需要记得把 personal access token保存下来。

然后重新git push -u origin master,会提示你输入用户名和密码,不管是用户登录密码,还是OpenSSH都直接把token粘贴过去。

然后就可以了。

Support for password authentication was removed on August 13, 2021. Please use a personal access tok

有个困惑是,我有些仓库是没设置之前也可以正常Push的。

 

上一篇:python-sqlite3操作


下一篇:2021 羊城杯WriteUP