Skip to content

Instantly share code, notes, and snippets.

@bynil
bynil / config-git-proxy.txt
Last active September 20, 2024 18:22
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://