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

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.