Open saaska opened 1 year ago
Can you run git-credential-manager diagnose
and attach the output?
Reports nothing wrong
$ git-credential-manager diagnose
Running diagnostics...
[ OK ] Environment
[ OK ] File system
[ OK ] Networking
[ OK ] Git
[ OK ] Credential storage
[ OK ] Microsoft authentication (AAD/MSA)
[ OK ] GitHub API
Diagnostic summary: 7 passed, 0 skipped, 0 failed.
Log files:
/tmp/gcm-diagnose.log
Caution: Log files may include sensitive information - redact before sharing.
Can you attach the full output log file?
I had this same issue. For me the solution was just to run git config --global credential.guiPrompt false
since my wsl ubuntu has no GUI
My solution using arch linux: install the lib git-credential-manager-core-extras
This lib add many UI's support for your git-credential-manager
I had this same issue. For me the solution was just to run
git config --global credential.guiPrompt false
since my wsl ubuntu has no GUI
Thank you this worked for me 👍
Possibly related: just hit this on completely fresh install In my case error message is a bit different and the actual culprit is missing libfontconfig "apt install build-essential" pulls it in and fixes the problem (you could install it directly, but i needed it for node anyway)
Maybe deb package should have some dependencies set? Or documented (which is probably more cross-distro compatible solution)
Version 2.0.935+8b4735fc7b
Operating system Windows 11 Pro x64, WSL, Ubuntu 22.04.2 LTS. Installed a fresh Ubuntu in WSL, downloaded https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.0.935/gcm-linux_amd64.2.0.935.deb, installed it with
deb -i
, installed gpg and pass, ranWhat Git host provider are you trying to connect to? A private GitBucket host.
Expected behavior When I
git clone
a new repo, a GUI window with login/password form appears.Actual behavior An exception "System.DllNotFoundException" is thrown, and a standard console prompt
Username for '<repo_url>':
apears.Logs
running with
LD_DEBUG=libs git clone <repo_url>
displaysActually, the library is there: