From: Jeff King <peff@peff.net>
To: Chris <jesdisciple@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git push => git: 'credential-winstore' is not a git command.
Date: Wed, 23 May 2018 02:16:52 -0400 [thread overview]
Message-ID: <20180523061652.GA13157@sigill.intra.peff.net> (raw)
In-Reply-To: <CAN_7rfcZHkbfaVO5A989Dza-zu7eRSPTKag9pcyB4v9=HWbKKQ@mail.gmail.com>
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
next prev parent reply other threads:[~2018-05-23 6:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-20 15:17 git push => git: 'credential-winstore' is not a git command Chris
2018-05-23 6:16 ` Jeff King [this message]
2018-05-23 11:57 ` Chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180523061652.GA13157@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=jesdisciple@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).