在使用Git进行项目代码提交的最后一步操作的时候,出现了一个问题,remote: Incorrect username or password ( access token )

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 )

 

相关文章:

  • 2022-01-08
  • 2021-04-19
  • 2022-12-23
  • 2021-06-27
猜你喜欢
  • 2021-07-31
  • 2022-01-17
  • 2022-12-23
  • 2021-06-22
  • 2021-05-31
相关资源
相似解决方案