Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aanwark/c29f5f3659762c6b934e10376cd7a18e to your computer and use it in GitHub Desktop.
Save aanwark/c29f5f3659762c6b934e10376cd7a18e to your computer and use it in GitHub Desktop.
go get under GFW!
# use polipo to connect to ss server locally, and support polipo listen under 8123.
git config --global http.proxy http://127.0.0.1:8123
HTTP_PROXY=http://127.0.0.1:8123 go get X
git config --global --unset http.proxy
# Encap this to override the issue because fucking GFW block google sites...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment