Answer the question
In order to leave comments, you need to log in
How to change the authorization protocol for an already cloned git repository?
I cloned the remote repository via https, now every time you run the git push command, you need to enter a username and password. How can I change the authorization protocol to ssh without cloning the repository again?
Answer the question
In order to leave comments, you need to log in
In the .git/config file, change the url in the [remote "origin"] section
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question