项目场景:

使用git提交代码或者clone代码时,出现 remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://xxx

解决方案:

方案一: 将git中之前存储的用户名和密码重新输一次

git config --system --unset credential.helper
git config --global credentia.helper store

如下:

方案二:修改本地git凭证