git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git push => git: 'credential-winstore' is not a git command.
@ 2018-05-20 15:17 Chris
  2018-05-23  6:16 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Chris @ 2018-05-20 15:17 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git push => git: 'credential-winstore' is not a git command.
  2018-05-20 15:17 git push => git: 'credential-winstore' is not a git command Chris
@ 2018-05-23  6:16 ` Jeff King
  2018-05-23 11:57   ` Chris
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2018-05-23  6:16 UTC (permalink / raw)
  To: Chris; +Cc: git

On Sun, May 20, 2018 at 10:17:54AM -0500, Chris wrote:

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git push => git: 'credential-winstore' is not a git command.
  2018-05-23  6:16 ` Jeff King
@ 2018-05-23 11:57   ` Chris
  0 siblings, 0 replies; 3+ messages in thread
From: Chris @ 2018-05-23 11:57 UTC (permalink / raw)
  To: Jeff King; +Cc: git

Thanks, Peff. I should have thought about the configuration
hierarchy... This evening I need to do some trial-and-error with the
three credential entries that found.
Want what you have,
Chris


On Wed, May 23, 2018 at 1:16 AM, Jeff King <peff@peff.net> wrote:
> On Sun, May 20, 2018 at 10:17:54AM -0500, Chris wrote:
>
>> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-23 11:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-20 15:17 git push => git: 'credential-winstore' is not a git command Chris
2018-05-23  6:16 ` Jeff King
2018-05-23 11:57   ` Chris

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).