Skip to content

Instantly share code, notes, and snippets.

@gexiao
gexiao / config-git-proxy.txt
Last active April 9, 2026 16:41
Use git over socks5 proxy
Port: 1080
1. Create a file /YOUR PATH/gitproxy.sh with content:
#!/bin/sh
nc -X 5 -x 127.0.0.1:1080 "$@"
2. Edit your ~/.gitconfig
# For git://