-
-
Notifications
You must be signed in to change notification settings - Fork 576
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
investigate how to use git credential fill #1094
Comments
This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
I did a little bit of research, and as far as I can tell, there seems to be no easy way to use https://git-scm.com/docs/git-credential |
This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Since I just completely borked my gitconfig, creating a SIGSEGV, I had a look into it. echo 'protocol=https
host=example.com
path=test.git' | git credentials fill This gave me the following output: protocol=https
host=example.com
username=user
password=secret Unfortunately I don't know, where to implement that, since I just today found out about gitui, but maybe I will look into it later. |
we are using git2-rs wich call the helper under the hood. feel free to contribute there: https://github.com/rust-lang/git2-rs/blob/master/src/cred.rs#L193 |
based on #800 (comment)
would be nice if we could fallback to run
git credential fill
cause it works (at least) on macOS by checking keychain without any explicitcredential.helper
being defined.problem is: it does an interactive shell when no credentials are defined. either we figure out how to surpress this or how we can query first if there are credentials defined.
The text was updated successfully, but these errors were encountered: