-
-
Save guotao/366e9bf0f4f0f9f6e8acc6e5a133c4cb to your computer and use it in GitHub Desktop.
Revisions
-
guotao created this gist
Mar 18, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ Step 1: set git through socks5 proxy: ```git config --global http.proxy socks5://127.0.0.1:1080``` Step 2: go get via socks5 proxy: ```http_proxy=socks5://127.0.0.1:1080 go get github.com/mattn/go-sqlite3``` Recover git global config: ```git config --global --unset http.proxy```