当前位置: 代码迷 >> 综合 >> Git Push 报错Support for password authentication was removed on August 13,2021
  详细解决方案

Git Push 报错Support for password authentication was removed on August 13,2021

热度:55   发布时间:2023-11-28 00:58:07.0

报错

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/WindyGao/incubator-doris.git/'

解决办法

github生成token

github->头像->Settings->Developer-settings->Personal access tokens->Generate new token->日期选择最后一个永不过期->Scope全选->底下选择Generate token->复制保存token

配置token到个人repo

git remote set-url origin https://<your_token>@github.com//.git

  相关解决方案