Thursday, June 14, 2012

HowTo - Using Git behind a Proxy

1. $ sudo aptitude install corkscrew

2. Create a file named “git-proxy” in $HOME/bin director which includes following content:

#!/bin/sh
exec /usr/bin/corkscrew $*

3. $ git config --global core.gitproxy '$HOME/bin/git-proxy'

No comments:

Post a Comment