git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git push => git: 'credential-winstore' is not a git command.

From
Jeff King <peff@peff.net>
Date
May 23, 2018, 06:16 UTC
Message-ID
<20180523061652.GA13157@sigill.intra.peff.net>
In-Reply-To
<CAN_7rfcZHkbfaVO5A989Dza-zu7eRSPTKag9pcyB4v9=HWbKKQ@mail.gmail.com>
On Sun, May 20, 2018 at 10:17:54AM -0500, Chris wrote:
Show 17 quoted lines
> 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].

That command will only edit the local repository's config file. You may have other config for your user (--global) or for the machine (--system).

Try:
  git config --show-origin --get-regexp credential.*

to see any related config you have, and which file it comes from (you can also just do "--show-origin --list" to see all of the config).

> What can I do to get rid of this annoying message (and, for all I
> know, potential symptom of a larger problem)?

I don't know enough about Git for Windows packaging to know whether you're supposed to have the winstore credential helper installed. So it could be a symptom of some kind of installation problem. But in general, a missing credential helper isn't a big deal (it just means that Git can't ask it for a credential and will end up prompting you or using a different helper).

-Peff
Previous: ChrisNext: Chris
Message 2 of 3 in “git push => git: 'credential-winstore' is not a git command.”
  1. ChrisMay 20, 2018
  2. Jeff KingMay 23, 2018
  3. ChrisMay 23, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.