I am stuck with downloading project code for an android application on code.google.com. https://code.google.com/p/android-opencv-panorama/ My college have proxy settings issues while trying to download via terminal using Git. Could somebody provide a link or way to do so.
            Asked
            
        
        
            Active
            
        
            Viewed 679 times
        
    2
            
            
        - 
                    does this help? http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy – jcomeau_ictx Jul 19 '13 at 03:14
- 
                    I have tried a lot with terminal and I am exhausted. Is there an alternative? – mohit Jul 19 '13 at 03:18
- 
                    if you want to get creative, you could always set up a cloud instance and download/zip/serve the repo from there over ftp or whatever – mgamba Jul 19 '13 at 03:27
- 
                    i had download it downloaing well no problem with me – CoronaPintu Jul 19 '13 at 04:11
- 
                    @PintuCorna- how you downloaded it? – mohit Jul 19 '13 at 04:26
1 Answers
1
            I would say to try at least:
set HTTPS_PROXY=http://<login_internet>:<password_internet>@aproxy:aport
set HTTP_PROXY=http://<login_internet>:<password_internet>@aproxy:aport
Or, for bash session:
 export http_proxy=http://<login_internet>:<password_internet>@aproxy:aport
 export https_proxy=http://<login_internet>:<password_internet>@aproxy:aport
Then, for git commands:
git config --global http.proxy http://<login_internet>:<password_internet>@aproxy:aport
Now the git clone should work:
git clone https://code.google.com/p/android-opencv-panorama/
The OP mohit reports that Egit works: it can indeed detect the default proxy settings.
- 
                    
- 
                    @mohit Excellent, I have included Egit in the answer for more visibility. – VonC Jul 19 '13 at 08:11
 
     
    