Skip to content

Instantly share code, notes, and snippets.

@ii0
Forked from bluethon/git_proxy_socks5.sh
Created May 31, 2019 03:32
Show Gist options
  • Save ii0/cf69fa7f100207786d485e8a95c9852e to your computer and use it in GitHub Desktop.
Save ii0/cf69fa7f100207786d485e8a95c9852e to your computer and use it in GitHub Desktop.
设置git使用socks5代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment