GIT is another software used for version control as SVN or CVS. Today when I was at gym Shreyank requested me to find out a possible solution for using GIT as he saw what I had posted earlier to use SVN and Pidgin. He was really very happy to see Pidgin working.
I came back then I thought I should give it a try too. I visited the LDTP site. There I saw a link for using git behind proxy. I dont know how it worked for me. I simply noticed that there was a simple change of protocols while using proxy, git:// was changed to http://.This is what I used to download the source of LDTP
$git clone http://anongit.freedesktop.org/git/ldtp/ldtp.git
I tried and bang! it was working for me. I had done only the usual proxy setting form yast, it sets up the http_proxy Environment variable. Check if it is set for you.
$echo $http_proxy
If the output is not “http;//10.0.0.1:3128″ then the proxy setting is not done for you. Do this
$export http_proxy=”http://10.0.0.1:3128″
It should work for you also.
Cheers
Thanks for the information. Your blog is added to your bookmarks. Develop.
Your reader.
Your guide will not work in 2 cases
a)If the repo has no webview enabled.. ie. NO HTTP
b)If the proxy blocks the port used by git like ours does
Thanks Roshan, exporting the env variable “http_proxy” worked for me
Thank you very much!
Clearly as Karthik mentioned, your solution wouldn’t work if there is no web view of the repo through http protocol.
@Karthik was right ..
i can use git here ..