Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git: 'credential-cache' is not a git command - Remove setting

Tags:

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.

like image 689
Bradley Flood Avatar asked Nov 19 '13 00:11

Bradley Flood


1 Answers

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

[credential] helper = winstore 
like image 75
Bradley Flood Avatar answered Sep 25 '22 14:09

Bradley Flood