I am working on an Ubuntu OS. I have tried cloning several repositories from git.gnome.org such as this -
git clone git://git.gnome.org/newcomers-tutorial Cloning into 'newcomers-tutorial'... fatal: unable to connect to git.gnome.org: git.gnome.org[0: 22.214.171.124]: errno=Connection timed out
And even tried with http:// -
git clone http://git.gnome.org/newcomers-tutorial Cloning into 'newcomers-tutorial'... fatal: http://git.gnome.org/newcomers-tutorial/info/refs not found: did you run git update-server-info on the server?
whereas if i clone any other repo from github it is successfully cloned. Such as -
git clone https://github.com/arduino/Arduino.git Cloning into 'Arduino'... remote: Counting objects: 53558, done. remote: Compressing objects: 100% (617/617), done. ^Cceiving objects: 11% (5996/53558), 23.67 MiB | 1.41 MiB/s
I am working behind a proxy and already have set it by -
git config --global http.proxy $http_proxy