linux - 如何从 Git 中删除缓存的凭据?

标签 linux git credentials

我跑了:

$ git config credential.helper store

然后:

$ git push origin master

推送后,我输入了我的凭据,它们被保存了。
我读到它们以明文形式存储,所以现在我想删除我的凭据,使其不被默认保存和输入。

我该怎么做?

最佳答案

在终端中运行以下命令以删除存储在缓存中的凭据

git config --global --unset credential.helper

关于linux - 如何从 Git 中删除缓存的凭据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44246876/

相关文章:

git - 如何与 Git 建立点对点协作?

windows - Windows 上的 Git instaweb?出现错误

docker - 凭证不适用于 "docker login"

Git 将嵌套的 git repos 视为常规文件/文件夹

python - 调用 Google App Engine Cloud Endpoints 内的 Drive API

java - 如何在 Web Java 应用程序中定义 Windows 安全网络凭据?

c - 使用 C 中的管道创建客户端和服务器时的奇怪行为

Python 套接字连接在 Ubuntu 16.04 上每 9 个连接延迟一秒

python - xlrd 和引用的单元格(如何获取单元格缓存值?)

linux - svn 合并单个文件。添加新文件