Skip to content

Instantly share code, notes, and snippets.

@bygreencn
Created April 9, 2014 09:46
Show Gist options
  • Save bygreencn/10248472 to your computer and use it in GitHub Desktop.
Save bygreencn/10248472 to your computer and use it in GitHub Desktop.
#disable git proxy using goagent
git config --global http.proxy ""
git config --global https.proxy ""
git config --global http.sslCAinfo ""
git config --global http.sslVerify true
#enable git proxy and enable SSL certificate using goagent
git config --global http.proxy 127.0.0.1:8087
git config --global https.proxy 127.0.0.1:8087
git config --global http.sslVerify true
git config --global http.sslCAinfo [PATH to goagent CA]
#enable git proxy and disnable SSL certificate using goagent
git config --global http.proxy 127.0.0.1:8087
git config --global https.proxy 127.0.0.1:8087
git config --global http.sslVerify false
git config --global http.sslCAinfo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment