git:'credential-cache'不是git命令 - 删除设置 [英] git: 'credential-cache' is not a git command - Remove setting

查看:395
本文介绍了git:'credential-cache'不是git命令 - 删除设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7上设置git凭证缓存之后,我现在想要废除这个想法,并从git中删除此错误消息并进行设置。





这个相关的问题显示了如何通过安装额外的软件来进行证书缓存来解决这个错误工作 - 但我希望一起删除这个设置。



我该怎么做?



我已经尝试过:
git config --global --remove-section credential-cache 及其变体。
另外它也不存在于我的.git / config文件中。

解决方案

运行 git config --global -e

  [凭证] 
助手= winstore

code>


After attempting to setup git credential cache on Windows 7 I would now like to scrap the idea and remove this error message and setting from git.

git: 'credential-cache' is not a git command.

This related question shows how to fix this error by installing additional software to make the credential caching work -- I however wish to remove this setting all together.

How do I do this?

I have tried: git config --global --remove-section credential-cache and variations thereof. Also it does not exist in my .git/config file either.

解决方案

Running git config --global -e allowed me to remove the offending config setting from the global git config.

[credential]
helper = winstore

这篇关于git:'credential-cache'不是git命令 - 删除设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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