wincredman error over SSH via VSCode remote with GitHub CLI

Open
#1,516 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, github, vscode

Research direction

Reproduce the workflow by connecting to a Windows machine through VS Code Remote Development and running GitHub CLI's gh repo clone. Read the linked docs/credstores.md guidance, then trace why wincredman reports a fatal persistence error even though push and pull work. Done means the behavior and expected error handling are clearly established.

Written by the indexing model from the issue text.

Description

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? 🤔

Dominant language
C#
Stars
9.3k
Forks
2.9k
Avg merge
7d 1h
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from git-ecosystem/git-credential-manager

All issues in git-ecosystem/git-credential-manager

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.