从git的CLI中清除所有git凭据以获取Windows的bash [英] clear all git credentials from the CLI on git for windows' bash
问题描述
是否有一种方法可以执行上述操作(从bash CLI删除我添加/可以访问的所有已存储凭据),而不管凭据的存储方式如何?
Is there a way to do the above (remove all stored credentials that I added/that I have access to, from the bash CLI), irrespective of how the credentials are stored?
我使用了许多不同的公用计算机,而不必弄清楚git的安装和凭据如何在每个计算机上工作是很理想的.
I use many different public computers, and it would be ideal not to have to figure out how the installation of git and the credentials is working on each.
简短的google/SO搜索没有结果
Brief google/SO searches wielded no results
推荐答案
在Windows 10中:
In windows 10:
转到Control Panel -> User Accounts -> Credential Manager -> Manage Windows Credentials
搜索类似git:https://github.....
的内容并将其删除.
Search for something like git:https://github.....
and remove that.
这篇关于从git的CLI中清除所有git凭据以获取Windows的bash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!