GitFiend / Support

Public repo for GitFiend questions and issues
116 stars 7 forks source link

Cloning failed - terminal prompts disabled #198

Open vhusnullin opened 9 months ago

vhusnullin commented 9 months ago

When cloning in UI, get this popup window with message: fatal: could not read Password for 'https://blablabla@dev.azure.com': terminal prompts disabled MX Linux 23.1 on Debian 12.

What should I do ? Thank you!

GitFiend commented 9 months ago

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.

vhusnullin commented 9 months ago

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 commented 9 months ago

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.