GIT uses GIT protocol. So if you need to clone any source, you need to do the following:
1. varsha@varsha-laptop:~$ git clone git://git.gnome.org/path/of/source
2. If the above works fine for you, then you don't have to do anything else. Otherwise, if you get the following error, then proceed to Step 3.
git.gnome.org[0: 209.132.180.173]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
3. Check if you have set up your system proxy.
varsha@varsha-laptop:~$ echo $http_proxy
http://172.16.1.13:3128/
4. If not, set the proxy.
5. Try cloning from GIT again, but this time use http:// instead of git://.
varsha@varsha-laptop:~$ git clone http://git.gnome.org/path/of/source
1. varsha@varsha-laptop:~$ git clone git://git.gnome.org/path/of/source
2. If the above works fine for you, then you don't have to do anything else. Otherwise, if you get the following error, then proceed to Step 3.
git.gnome.org[0: 209.132.180.173]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
3. Check if you have set up your system proxy.
varsha@varsha-laptop:~$ echo $http_proxy
http://172.16.1.13:3128/
4. If not, set the proxy.
export http_proxy="<address:port>"
5. Try cloning from GIT again, but this time use http:// instead of git://.
varsha@varsha-laptop:~$ git clone http://git.gnome.org/path/of/source
Thanks varsha, your post solve the problem of installing gnome shell for me. :)
ReplyDeleteHey i tried the above method. I got the following error
ReplyDeletefatal: http://git.gnome.org/path/of/source/info/refs not found: did you run git update-server-info on the server?
I ran git update-server-info on my project directory. Didn't work. Google did not Help me. Any Idea?
Check out: http://www.kernel.org/pub/software/scm/git/docs/git-update-server-info.html
ReplyDeleteOr, try getting help from #git channel on Freenode.