git push => git: 'credential-winstore' is not a git command.
- From
- Chris <jesdisciple@gmail.com>
- Date
- May 20, 2018, 15:17 UTC
- Message-ID
- <CAN_7rfcZHkbfaVO5A989Dza-zu7eRSPTKag9pcyB4v9=HWbKKQ@mail.gmail.com>
Hi,
Windows 10 git version 2.17.0.windows.1
I'm having a problem very similar to this one: https://stackoverflow.com/questions/11693074/git-credential-cache-is-not-a-git-command One of the comments on the question suggests this command:
git config --global --unset credential.helper
This did help me, because previously Git was trying to authenticate me with the Microsoft account I use to log into my Windows, which is unrelated to the account I need to use to push code. And it removed one of the two "git: 'credential-winstore' is not a git command." messages I was receiving.
But I still get one of them, so I tried reinstalling Git for Windows with the credential helper disabled, but that didn't help. Then I ran this command:
git config -e
And couldn't find any mention of [credential].
What can I do to get rid of this annoying message (and, for all I know, potential symptom of a larger problem)?
Thanks, Chris