Git: Clone a project over a http proxy

Hi,

like subversion it is also possible to anonymously checkout the latest version of a project over a http proxy server.

Define the proxy server

root@debdev:~# git config --global http.proxy http://192.168.233.13:8080

and checkout the project by its http URL


root@debdev:~# git clone http://git.musicpd.org/cgit/master/mpd.git/
Cloning into 'mpd'...

Michael

Leave a Reply