报错:
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: Authentication failed for 'https://github.com/
解决方案:
生成token之后:
修改现有项目的url:
git remote set-url origin https://<your_token>@github.com/<USERNAME>/<REPO>.git
<your_token>:就是你生成的token
<REPO>:项目名称
<USERNAME>:就是你的用户名
转载:https://blog.csdn.net/MashiMaroJ/article/details/120369940