Https authorization to github #2724
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I never use http authentication myself, but I think it should be the same username and password as you would use with I think most people use SSH for pushing, and usually combined with It looks like we don't have a single command for updating the remote URL associated with a remote, so I think you'll have to do |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer. Meanwhile I managed to configure ssh keys and indeed everything works fine. Thank you, |
Beta Was this translation helpful? Give feedback.
I never use http authentication myself, but I think it should be the same username and password as you would use with
git push
.I think most people use SSH for pushing, and usually combined with
ssh-agent
. The instructions for that seem to be here: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.It looks like we don't have a single command for updating the remote URL associated with a remote, so I think you'll have to do
jj git remote remove origin
followed byjj git remote add origin <SSH URL copied from GitHub repo>
.