Tuesday, February 10, 2009

Cloning xorg/freedesktop git projects over http

The network policy at my work makes me use a proxy-server. Unfortunately it looks like x.org or freedesktop.org does not support git usage over http. Just browsing to http://anongit.freedesktop.org does show an error which lets me guess that this server supports cloning over http. Indeed, afer some wrong URLs I've found a working one!

export http_proxy=http://proxy:81
git clone http://anongit.freedesktop.org/git/xorg/xserver.git xorg-xserver

A complete list of projects is available from http://cgit.freedesktop.org.