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

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

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

原文地址:https://www.cnblogs.com/coce/p/11082015.html