git:// on gerrit

Ewoud Kohl van Wijngaarden ewoud+ovirt at kohlvanwijngaarden.nl
Fri Jan 13 15:49:15 UTC 2012


Hello,

Yesterday xTs_w pointed out on IRC that git:// is no longer working. Was
there a specific reason to disable this? Note that many guides still use
this URL.

Another tip to use git:// for fetching and git+ssh:// for pushing. Add
the following to ~/.gitconfig:

[url "git://github.com/"]
insteadOf = "gh:"
[url "git at github.com:"]
pushInsteadOf = "gh:"

then you can use git clone gh:user/repo. You could use something similar
for ovirt:

[url "git://gerrit.ovirt.org/"]
insteadOf = "ovirt:"
[url "gerrit.ovirt.org:"]
pushInsteadOf = "ovirt:"

Then git clone ovirt:ovirt-engine should work. Promoting this can also
simplify instructions.

With kind regards,
Ewoud Kohl van Wijngaarden



More information about the Infra mailing list