1
I noticed that in gitlab there are two ways to clone a project, one by SSH and the other by HTTPS, my question is what would be the difference between them ?
For safety what would be the recommended use to carry out such a procedure ?
1
I noticed that in gitlab there are two ways to clone a project, one by SSH and the other by HTTPS, my question is what would be the difference between them ?
For safety what would be the recommended use to carry out such a procedure ?
Browser other questions tagged git https ssh gitlab
You are not signed in. Login or sign up in order to post.
I don’t know why it is marked as duplicate, the other question is old and contains outdated information, today github marks HTTPS as recommended and it can be easily used in Bash
– silash35
Thank you Silas, I do not understand why they marked as duplicate, I did not ask about advantages but yes if I should use ssh or https.
– Mike Otharan
Since you can’t put answers, I answer right here. I recommend using HTTPS because it’s the default that the web uses. Even Google Core brands sites that use https as insurance, like stackoverflow itself. another thing is that when you push repositories using Https it asks for your repository password and login and ssh works in a completely different way, with keys and etc. That is, If you use SSH, anyone with access to your computer can push your placements. Learn more at: https://help.github.com/articles/which-remote-url-should-i-use/
– silash35