git报错 - remote: HTTP Basic: Access denied

Posted suqq

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git报错 - remote: HTTP Basic: Access denied相关的知识,希望对你有一定的参考价值。

不小心修改了密码之后,vs的githab就无法同步代码。

同步之后 输出框就提示  - remote: HTTP Basic: Access denied 

解决方法:

1.控制面板--》选择用户账户--》选择管理你的凭据--》选择windows凭据--》-普通凭据-》选择git的信息--》编辑或删除

也可直接在搜索框 搜索 windows凭据

技术图片

我的git信息 在普通凭据里面

技术图片

可进行编辑更新git信息。也可以直接删除,后续可创建。

等你再次去同步代码的时候,提示你输入用户名和密码,输入即可同步。

 

以上是关于git报错 - remote: HTTP Basic: Access denied的主要内容,如果未能解决你的问题,请参考以下文章

centos下git报错Failed to connect to repository : Command "git ls-remote -h HEAD" returned sta

centos下git报错Failed to connect to repository : Command "git ls-remote -h HEAD" returned sta

centos下git报错Failed to connect to repository : Command "git ls-remote -h HEAD" returned sta

git报错:'fatal:remote origin already exists

git报错:fatal: remote origin already exists.

Git添加远程报错:remote origin already exists.