Is it possible to use such configuration? Or there are no advatages between ssh:// and git://?
Yes, it does. However, the URL bar in github web page no loner have git protocol for copying the URL to clipboard. You have to replace https:// with git:// by yourself.
Also, git protocol use port 9418. Make sure you can use this port.
git protocol is not encrypted, but it is faster than https.
git protocol is read-only in github. You cannot push to it via git protocol.
As of writing this answer, GitHub does support the git://
protocol as read-only. It is the only supported protocol that is not encrypted or secured with keyed access.
As of March 15, 2022, GitHub will no longer support the git://
protocol. As detailed in a blog post, there will be brownout periods leading up to the permanent removal of support for the git://
protocol.
© 2022 - 2024 — McMap. All rights reserved.
https://
is the recommended way of accessing GitHub repositories: help.github.com/articles/which-remote-url-should-i-use. Performance should be comparable betweenhttps://
andgit://
, since GitHub's update of Smart HTTP many years ago (github.com/blog/642-smart-http-support). @viakondratiuk, no use of thegit://
protocol is recommended by GitHub. – Speroni