当前位置:   article > 正文

【git-http】Windows中git输错密码后不能重新输入的问题_git凭据删除

git凭据删除

参考:https://blog.csdn.net/u013654125/article/details/80511789

问题描述

使用Http的方式从远程仓库中Clone了一个项目,修改完push的时候输错密码了,之后再push再也不弹密码框了,我擦。。。

  1. D:\Android\MyApplication\***\****>git push origin master
  2. remote: HTTP Basic: Access denied
  3. fatal: Authentication failed for 'http://*******/*****/***-app-android.git/'

F*ck!

参考资料发现:

当输入密码错误后,git会把密码保存在Windows的你的当前用户名的缓存中。
我们可以在控制面板中寻找到这个缓存,再删掉就可以了

 

解决方案

①、打开【控制面板】,选择【用户账户

②、点击【凭据管理器

③、找到 git的凭据--删除 即可

 

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/448622
推荐阅读
相关标签
  

闽ICP备14008679号