Git-remote Incorrect username or password ( access token )

remote: Incorrect username or password ( access token )

在使用Git进行项目代码提交的最后一步操作的时候,出现了一个问题,这个问题的意思大概是:用户名或密码不正确(访问令牌)

git出错截图:
Git-remote Incorrect username or password ( access token )

我造成这种错误的原因是,由于之前重置了Git账户的密码,忘记修改计算机的凭据导致这个问题的出现。

我的解决方案是:

打开电脑的控制面板–>用户账户–>管理Windows凭据

Git-remote Incorrect username or password ( access token )
Git-remote Incorrect username or password ( access token )
Git-remote Incorrect username or password ( access token )

找到普通凭据中自己的账号信息,选择编辑,填入正确的用户名和密码,最后点击保存即可。

Git-remote Incorrect username or password ( access token )

最后重新使用git的push指令,成功将代码提交。

Git-remote Incorrect username or password ( access token )

希望这篇博客能帮助到大家!!!