git或gitlab修改密码之后,报错remote: HTTP Basic: Access denied,fatal: Authentication failed for ‘git或gitlab地址’

问题:

方案一:

1、打开控制面板(快捷键方式:cmd输入Control回车)

 

2、修改密码

 

方案二:

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

重新将代码push到远程仓库就会提示输入用户名和新密码。

 

posted @ 2021-06-09 13:54  习久性成  阅读(798)  评论(0编辑  收藏  举报