Skip to content

Instantly share code, notes, and snippets.

@syfun
Last active July 23, 2018 07:28
Show Gist options
  • Save syfun/bbcc54746173faad731d0c7a010e411e to your computer and use it in GitHub Desktop.
Save syfun/bbcc54746173faad731d0c7a010e411e to your computer and use it in GitHub Desktop.
gitproxy set
#!/bin/sh
nc -X 5 -x 127.0.0.1:1080 "$@"
@syfun
Copy link
Author

syfun commented Jul 23, 2018

Set to /path/to/gitproxy.sh

socks5 proxy

git config --global core.gitproxy /path/to/gitproxy.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment