remote: Incorrect username or password ( access token ) fatal: Authentication failed for

2023-05-25,,

gitee推送到远程仓库时提示错误
remote: Incorrect username or password ( access token )
fatal: Authentication failed for 'https://gitee.com/***/***.git/'

解决办法:

一、清除本地的gitee用户名和密码

git config --system --unset credential.helper

出现以下错误提示,显示我没有权限,无果

error: could not lock config file C:/Program Files/Git/mingw64/etc/gitconfig: Permission denied

二、打开控制面板》所有控制面板项》凭据管理器,删除相应的凭证

remote: Incorrect username or password ( access token ) fatal: Authentication failed for的相关教程结束。

《remote: Incorrect username or password ( access token ) fatal: Authentication failed for.doc》

下载本文的Word格式文档,以方便收藏与打印。