Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning failed - terminal prompts disabled #198

Open
vhusnullin opened this issue Jan 25, 2024 · 3 comments
Open

Cloning failed - terminal prompts disabled #198

vhusnullin opened this issue Jan 25, 2024 · 3 comments

Comments

@vhusnullin
Copy link

vhusnullin commented Jan 25, 2024

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!

@GitFiend
Copy link
Owner

GitFiend commented Jan 25, 2024

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
Copy link
Author

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
Copy link
Author

vhusnullin commented Jan 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants