Git tip of the day

In the Gnome Git documents, there is a little gem hidden which deserves to be repeated:

Since all gnome modules have a common url prefix, it can be convenient to set up a clone alias:

git config --global url.ssh://[login]@git.gnome.org/git/.insteadof gnome:

Then the clone line becomes much shorter:

git clone gnome:[project]

Don’t forget to change [login] and [project] to the appropriate values in the above.

Posted: April 20, 2009 15:49 Tags: gnome git

Comments