Impressions27 Mar 2012 12:23 pm
The easiest way of using git behind a proxy is using tsocks. It is just Straightforward:
1 – Install tsocks
2 – Configure tsocks by creating a /etc/tsocks.conf like this:
local = <localnet>/255.0.0.0
server = proxy_ip
server_type = 5
server_port = proxy_port
3 – Use it:
$ tsocks git pull
Just that!
I had also tried the proxy using the GIT_PROXY_COMMAND=”/usr/bin/proxy-wrapper
where proxy-wrapper is
#!/bin/bash
nc -xproxy_addreess:proxy_port -X5 $*
But IMHO tsocks is more convenient because it is not needed to set and unset GIT_PROXY_COMMAND every time.
i want to try this i want to try this proxy for my grooveshark