-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
It should support auto login for push #800
Comments
I suggest using a ssh key to solve that:
|
GitHub recommends HTTPS instead of SSH: Note: I'm not saying HTTPS is better, just stating that currently it can't be easily dismissed as SSH is not the defacto or superior solution right now |
I am not dismissing HTTPS, just my personal suggestion. speaking of which, it seems GitHub changed their recommendation a few times: https://stackoverflow.com/questions/11041729/why-does-github-recommend-https-over-ssh |
Yes, I was laughing at that when tried to collect info on this topic. I'm sorry if I implied you already dismissed the idea, it wasn't my intention. I totally agree with your personal suggestion. |
My personal preference is SSH as well but I have to work with HTTPS-only repos too. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No, not stale bot! My least favorite thing about GitHub. People not talking about a bug is better than people spamming low-effort comments. Just because people aren't talking about a bug doesn't mean they have stopped caring about it. Just because the people who care about the bug lack the coding chops to fix it doesn't mean it should be closed. Please delete stale bot. It's interesting, this bug has made me switch entirely to SSH keys for git, which apparently brings me in line with extrawurst's opinions on HTTPS vs. SSH, but I think leaving this bug unfixed would not be a very nice way of winning that debate. If people prefer HTTPS for whatever reason, gitui should support that relatively common workflow. |
@skyfaller the thing is: as long as no one picks this up it will not happen. and it being dormant that long is a good indicator no one cares enough about it. I certainly will not have time to fix it in the foreseeable future. and closed is not deleted the info is still here to point to for future reference |
But my understanding of "closed" on a bug is that
If stale bot runs around closing bugs willy nilly, now the closed state doesn't mean much of anything. The difference between a closed bug and an open bug can just be happenstance, or the confluence of tangential factors such as:
In my last confrontation with stale bot, me and the other user who cared about the bug eventually found someone to work on fixing it... But the bug is still closed! yuin/goldmark#180 "Closed" doesn't even mean that the bug is inactive, that nobody is working on it, because stale bot sucks meaning out of the universe! Anyway, sorry for hijacking the discussion on this issue to make it less stale, I can open a bug requesting the demise of stale bot instead ;-) |
Support for git credential helpers will be a useful addition to an already very useful tool. From what I can imagine, the |
@computerphilosopher credential.helper should actually be honoured. can you share your configuration as an example so I can try to reproduce it? update: |
would be great if you could build from source off of branch essentially if you can retrieve your credentials via |
I have tried the branch and build it - installation was successfull, but the git credential integration does not work...
works perfectly. The mentioned command here in the merge request
When using gitui I see following output in the log ( bat $HOME/Library/Caches/gitui/gitui.log) |
@jgoldhammer can you check if |
Yes, I am on macos... This call works for known and unknown credentials - the script always returns.
(Please ignore the alias hint - it is printed by fish shell) |
@jgoldhammer can you test something? it turns out see https://github.com/rust-lang/git2-rs/blob/master/src/cred.rs#L327 |
I can make sure that the credential helper is configured this way, but gitui still asks for the username and password. |
@jgoldhammer ok please try this PRs branch again. turns out the config lookup for the helper to use was not checking the repo config, only the system git config. now we should get it to work. with master it should work if you set this config via if this looks good to you I would close this ticket and create a followup:
|
Master works perfectly after setting the credential helper globally with the above command! Thanks for making it possible 🥳 |
I ran into the same problem, that is that credential helpers are configured via built-in configuration that differs depending on the platform which makes custom configuration of these necessary - something I thought should be avoidable.
The second solution is to run the git binaryto extract the special configuration path and place it first into the list of loaded configuration files. If that is possible with |
Is your feature request related to a problem? Please describe.
When I use git command, I don't have to type the user name and password everytime for push. Because I saved my password by credential helper.
Describe the solution you'd like
If the user is using a credential helper feature, the gitui should not ask a user name and password
The text was updated successfully, but these errors were encountered: