{"thread":{"id":"48529","subject":"git push => git: 'credential-winstore' is not a git command.","startedAt":"2018-05-20T15:17:59Z","lastAt":"2018-05-23T11:57:23Z","messageCount":3,"participants":["Chris","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"348100","messageId":"CAN_7rfcZHkbfaVO5A989Dza-zu7eRSPTKag9pcyB4v9=HWbKKQ@mail.gmail.com","threadId":"48529","inReplyTo":null,"subject":"git push => git: 'credential-winstore' is not a git command.","fromName":"Chris","fromEmail":"jesdisciple@gmail.com","sentAt":"2018-05-20T15:17:54Z","receivedAt":"2018-05-20T15:17:59Z","isPatch":false,"sender":{"key":"jesdisciple@gmail.com","avatar":null},"body":"Hi,\n\nWindows 10\ngit version 2.17.0.windows.1\n\nI'm having a problem very similar to this one:\nhttps://stackoverflow.com/questions/11693074/git-credential-cache-is-not-a-git-command\nOne of the comments on the question suggests this command:\n\ngit config --global --unset credential.helper\n\n\nThis did help me, because previously Git was trying to authenticate me\nwith the Microsoft account I use to log into my Windows, which is\nunrelated to the account I need to use to push code. And it removed\none of the two \"git: 'credential-winstore' is not a git command.\"\nmessages I was receiving.\n\nBut I still get one of them, so I tried reinstalling Git for Windows\nwith the credential helper disabled, but that didn't help. Then I ran\nthis command:\n\ngit config -e\n\n\nAnd couldn't find any mention of [credential].\n\nWhat can I do to get rid of this annoying message (and, for all I\nknow, potential symptom of a larger problem)?\n\nThanks,\nChris\n"},{"id":"348357","messageId":"20180523061652.GA13157@sigill.intra.peff.net","threadId":"48529","inReplyTo":"CAN_7rfcZHkbfaVO5A989Dza-zu7eRSPTKag9pcyB4v9=HWbKKQ@mail.gmail.com","subject":"Re: git push => git: 'credential-winstore' is not a git command.","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2018-05-23T06:16:52Z","receivedAt":"2018-05-23T06:16:57Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sun, May 20, 2018 at 10:17:54AM -0500, Chris wrote:\n\n> git config --global --unset credential.helper\n> \n> \n> This did help me, because previously Git was trying to authenticate me\n> with the Microsoft account I use to log into my Windows, which is\n> unrelated to the account I need to use to push code. And it removed\n> one of the two \"git: 'credential-winstore' is not a git command.\"\n> messages I was receiving.\n> \n> But I still get one of them, so I tried reinstalling Git for Windows\n> with the credential helper disabled, but that didn't help. Then I ran\n> this command:\n> \n> git config -e\n> \n> \n> And couldn't find any mention of [credential].\n\nThat command will only edit the local repository's config file. You may\nhave other config for your user (--global) or for the machine\n(--system).\n\nTry:\n\n  git config --show-origin --get-regexp credential.*\n\nto see any related config you have, and which file it comes from (you\ncan also just do \"--show-origin --list\" to see all of the config).\n\n> What can I do to get rid of this annoying message (and, for all I\n> know, potential symptom of a larger problem)?\n\nI don't know enough about Git for Windows packaging to know whether\nyou're supposed to have the winstore credential helper installed. So it\ncould be a symptom of some kind of installation problem. But in general,\na missing credential helper isn't a big deal (it just means that Git\ncan't ask it for a credential and will end up prompting you or using a\ndifferent helper).\n\n-Peff\n"},{"id":"348366","messageId":"CAN_7rfdoJOgD0GYg_E8EW+VgXrxNpdx8GsVa=wa1tAbDZ2C+3w@mail.gmail.com","threadId":"48529","inReplyTo":"20180523061652.GA13157@sigill.intra.peff.net","subject":"Re: git push => git: 'credential-winstore' is not a git command.","fromName":"Chris","fromEmail":"jesdisciple@gmail.com","sentAt":"2018-05-23T11:57:19Z","receivedAt":"2018-05-23T11:57:23Z","isPatch":false,"sender":{"key":"jesdisciple@gmail.com","avatar":null},"body":"Thanks, Peff. I should have thought about the configuration\nhierarchy... This evening I need to do some trial-and-error with the\nthree credential entries that found.\nWant what you have,\nChris\n\n\nOn Wed, May 23, 2018 at 1:16 AM, Jeff King <peff@peff.net> wrote:\n> On Sun, May 20, 2018 at 10:17:54AM -0500, Chris wrote:\n>\n>> git config --global --unset credential.helper\n>>\n>>\n>> This did help me, because previously Git was trying to authenticate me\n>> with the Microsoft account I use to log into my Windows, which is\n>> unrelated to the account I need to use to push code. And it removed\n>> one of the two \"git: 'credential-winstore' is not a git command.\"\n>> messages I was receiving.\n>>\n>> But I still get one of them, so I tried reinstalling Git for Windows\n>> with the credential helper disabled, but that didn't help. Then I ran\n>> this command:\n>>\n>> git config -e\n>>\n>>\n>> And couldn't find any mention of [credential].\n>\n> That command will only edit the local repository's config file. You may\n> have other config for your user (--global) or for the machine\n> (--system).\n>\n> Try:\n>\n>   git config --show-origin --get-regexp credential.*\n>\n> to see any related config you have, and which file it comes from (you\n> can also just do \"--show-origin --list\" to see all of the config).\n>\n>> What can I do to get rid of this annoying message (and, for all I\n>> know, potential symptom of a larger problem)?\n>\n> I don't know enough about Git for Windows packaging to know whether\n> you're supposed to have the winstore credential helper installed. So it\n> could be a symptom of some kind of installation problem. But in general,\n> a missing credential helper isn't a big deal (it just means that Git\n> can't ask it for a credential and will end up prompting you or using a\n> different helper).\n>\n> -Peff\n"}]}