This error
git: 'credential-cache' is not a git command. See 'git --help'.
is showing every time I try to interact with GitHub:
In order to get out of the pain of typing my GitHub idname & password each time I fetch, pull, merge and push changes to the GitHub, I thought of using the
git config --global credential.helper cache
command to store the idname & password. After using it I learned that, as I'm using Windows, I had to use manager
instead of cache
to do the same task. However, the above error message is showing each time I try to interact with GitHub.
I have never used a credential helper. But, I think it would require you to install a third-party tool to get it working.
refer to
https://stackoverflow.com/a/5343146/7409008check
https://github.com/microsoft/Git-Credential-Manager-for-WindowsAs a recommendation, I would tell you to use ssh keys
cite^
instead of a third-party tool, you are more secure this way. Even more secure if you use a passphrase along with ssh-agentcite^
.