-
Notifications
You must be signed in to change notification settings - Fork 346
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
Support authenticated HTTP #469
Comments
The credentials callback is configured here. As you can see, there's only support for SSH right now. I'd be very grateful for help in this area. I don't know how these things should work, so I'm afraid I don't have many hints. There's e.g. gitcredentials that we may want to integrate with somehow. I also don't know how if any of this should be done in libgit2. I found one old issue that mentions gitcredentials. |
FYI, Git's credentials helpers came up in #63 too. |
As a workaround, I use A safer option is to use a separate git dir, as described in the doc I linked. I couldn't get |
Hit this issue today -- would be great if jj could at least say "only ssh is supported for now". For me the error only happens with |
Today I set out to use jj to author a change in a Github project. I cloned the repo following the example in the tutorial, which uses
https
. After authoring some changes, I sought to push the changes in a branch, but I encountered the error:Searching around for how to set up auth, it appears that jj currently only supports SSH for authenticated connections.
As a former Windows user, I still retain some of my habits from that time, where SSH workflows were clumsy at best, and in my git environments, I rely solely on HTTP workflows. As I explore migrating from git to jj, I'd like to minimize the variance across the workflows.
I'd like to see jj add support for authenticated HTTP, ideally by also re-using the credentials already stored in the backing store used by the auth helpers found in the git client. I may be able to help here.
Is there any prior work to support this mode? Are there any known blockers?
The text was updated successfully, but these errors were encountered: