Thread (9 messages) flat view 9 messages, 2 authors, 2021-11-04

Re: credential-store get: No such file or directory

From: Steven Penny <hidden>
Date: 2021-11-03 03:57:24

On Tue, Nov 2, 2021 at 9:25 PM Jeff King wrote:
Can you show us the contents of your ~/.gitconfig file?
    [color "diff"]
    meta = yellow bold
    [credential]
    helper = store
    [diff]
    wsErrorHighlight = all
    [user]
    email = srpen6@gmail.com
    name = Steven Penny
Also, what does:

  GIT_TRACE=1 git push

say about what it's trying to execute?
Aha:

    22:53:19.785297 run-command.c:666       trace: run_command:
git-remote-https origin https://github.com/89z/googleplay
    22:53:20.024042 run-command.c:666       trace: run_command: 'git
credential-store get'
And finally, does running:

  echo "url=https://example.com" | git credential-store get

work? I wouldn't expect it to produce any output (since you'd have
nothing stored for that site), but it shouldn't give you the "no such
file or directory" complaint.
No output, not error, just as you said.
I think it is not complaining about finding the credential file, but
running the credential-store helper in the first place. The "cannot run"
message comes from our run-command.c code.
Yeah, looks like you are right, based on the trace result.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help