【发布时间】:2023-03-20 09:00:01
【问题描述】:
尝试在 Windows 7 上设置 git 凭据缓存后,我现在想放弃这个想法并从 git 中删除此错误消息和设置。
git: 'credential-cache' is not a git command.
This related question 展示了如何通过安装额外的软件来修复此错误,以使凭据缓存正常工作——但我希望一起删除此设置。
我该怎么做?
我尝试过:
git config --global --remove-section credential-cache 及其变体。
它也不存在于我的 .git/config 文件中。
【问题讨论】:
-
你在做什么来导致那个错误信息?
-
@greg-hewgill git pull 或 push