Does GitHub support git:// protocol for pull?
Asked Answered
A

2

6

Is it possible to use such configuration? Or there are no advatages between ssh:// and git://?

Aidaaidan answered 11/10, 2013 at 11:39 Comment(0)
A
8

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.

Acanthocephalan answered 11/10, 2013 at 11:43 Comment(1)
https:// is the recommended way of accessing GitHub repositories: help.github.com/articles/which-remote-url-should-i-use. Performance should be comparable between https:// and git://, since GitHub's update of Smart HTTP many years ago (github.com/blog/642-smart-http-support). @viakondratiuk, no use of the git:// protocol is recommended by GitHub.Speroni
O
4

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.

Source.   Archive of source.

Obstinacy answered 2/11, 2021 at 14:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.