LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to use git through proxy? (https://www.linuxquestions.org/questions/slackware-14/how-to-use-git-through-proxy-845929/)

beyond291 11-22-2010 09:31 PM

How to use git through proxy?
 
I have to use git to fetch code from Internet through a proxy.
I search some article on it, but it's not suitable for Slackware.
Like this:
I cann't find "socket" command in Slackware.
How to use git through a proxy in Slcakware?
Thanks.

willysr 11-23-2010 02:54 AM

Code:

export http_proxy=http://<proxy-ip>:3128

ponce 11-23-2010 03:08 AM

I think this can be useful too, if the repository doesn't have http access: Using GIT through a SOCKS proxy (if you need netcat-openbsd, the slackbuild it's here)


All times are GMT -5. The time now is 05:22 AM.