美文网首页
git 删除本地credential 方法

git 删除本地credential 方法

作者: 游民小龙虾 | 来源:发表于2020-12-29 22:34 被阅读0次

通过 git config --list | grep credential 查看持久化存储的方式

credential.helper=osxkeychain
credential.helper=store

第一种就是mac自带的钥匙串 (启动台->其他->钥匙串访问, 搜索git相关 删掉目标信息)

第二种是文件存储地址在 ~/.git-credentials,删除该文件

相关文章

网友评论

      本文标题:git 删除本地credential 方法

      本文链接:https://www.haomeiwen.com/subject/nmzqoktx.html