git 账号密码错误remote: Incorrect username or password (access token)

因为全局和本地的git用户名密码不一致,长久未用的一个项目重新输入密码不注意输错了,一直提示

git 账号密码错误remote: Incorrect username or password (access token)

先用’git config --local --list’ 检查当前项目user.name和user.email

git 账号密码错误remote: Incorrect username or password (access token)

查询完成后win10下通过 控制面板——>点击用户账户——>点击凭据管理器——>点击windows凭据——>普通凭据里找到需要修改的凭据,点击编辑,修改保存即可。

git 账号密码错误remote: Incorrect username or password (access token)
然后再push即可成功

git 账号密码错误remote: Incorrect username or password (access token)