第一次身份验证失败后,如何要求Gitbash再次对我进行身份验证? [英] How to ask Gitbash to authenticate me again after my authentication failed the first time?

查看:86
本文介绍了第一次身份验证失败后,如何要求Gitbash再次对我进行身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Git bash要求输入我的用户名和密码,但由于意外我输入了错误的密码.它不会再提示我输入用户名和密码,因此我无法执行任何git命令.有没有可以用来提示我再次输入用户名和密码的命令.

Git bash asked for my username and password and I incorrectly entered my password on accident. It won't prompt me again for my user name and password so I can't do any git commands. Is there a command I can use to have it prompt me for the username and password again.

推荐答案

如果使用的是https,则需要从使用的凭据存储中删除该URL.

If you are working with https, you need to remove that URL from the credential storage you are using.

请参阅:

git credential-manager reject <url>

这篇关于第一次身份验证失败后,如何要求Gitbash再次对我进行身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆