通过 git config --list | grep credential 查看持久化存储的方式
credential.helper=osxkeychain
credential.helper=store
第一种就是mac自带的钥匙串 (启动台->其他->钥匙串访问, 搜索git相关 删掉目标信息)
第二种是文件存储地址在 ~/.git-credentials,删除该文件
通过 git config --list | grep credential 查看持久化存储的方式
credential.helper=osxkeychain
credential.helper=store
第一种就是mac自带的钥匙串 (启动台->其他->钥匙串访问, 搜索git相关 删掉目标信息)
第二种是文件存储地址在 ~/.git-credentials,删除该文件