git-credential-manager icon indicating copy to clipboard operation
git-credential-manager copied to clipboard

wincredman error over SSH via VSCode remote with GitHub CLI

Open gr00nd opened this issue 2 years ago • 0 comments

Discussed in https://github.com/git-ecosystem/git-credential-manager/discussions/1346

Originally posted by davetapley July 24, 2023 Here's my workflow:

  1. Connect to Windows machine using VS Code Remote Development
  2. Use the GitHub CLI's gh repo clone command

push/pull work, but every time I'm told (x3):

fatal: Unable to persist credentials with the 'wincredman' credential store.
See https://aka.ms/gcm/credstores for more information.

That link helpfully says: https://github.com/git-ecosystem/git-credential-manager/blob/2fcbd770f6a3ef976a85c2463649aa0fb863c981/docs/credstores.md?plain=1#L36


But here's the thing: it does seem to work, because I can push/pull.

What's going on here? Can I suppress the fatal error? Should that even be an error since it appears to work regardless? 🤔

gr00nd avatar Jan 19 '24 08:01 gr00nd