Support icon indicating copy to clipboard operation
Support copied to clipboard

Cloning failed - terminal prompts disabled

Open vhusnullin opened this issue 1 year ago • 3 comments

When cloning in UI, get this popup window with message: fatal: could not read Password for 'https://[email protected]': terminal prompts disabled MX Linux 23.1 on Debian 12.

What should I do ? Thank you!

vhusnullin avatar Jan 25 '24 11:01 vhusnullin

GitFiend is supposed to bring up a credentials dialog ("terminal prompts disabled" is part of gitfiend handling the credentials itself).

I'm not sure what your credential setup is? GitFiend supports passwords, ssh configs and personal access tokens for authentication. It's also been tested with Git Credential Manager on Windows. You may be able to install Git Credential Manager for linux and set your git config to use that. I do want to work through issues like this and make sure gitfiend is compatible with as much as possible, so thanks for reporting.

GitFiend avatar Jan 25 '24 21:01 GitFiend

I don't know what my credentials setup is - I use token and username to access GIT. I use other tools, smartgit - and it works - it pops up a dialog. Can I maybe look at some logs locally for this issue ? Where are they located ? Thank uou.

vhusnullin avatar Jan 30 '24 09:01 vhusnullin

I fixed it by setting the git config using this command:

git config --global credential.credentialStore plaintext

I am sure I could use non-plaintext value, one of values here: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/credstores.md But for now, plaintext is ok for me.

Also a handy workaround - doing git clone from command line, enter password in the prompt in cmd and then use GitFiend on a ready repo.

vhusnullin avatar Jan 30 '24 11:01 vhusnullin