Recently, I have bought a server from www.vultr.com. I used it to build a ladder to speed up git because it’s an urgent need for me.

Prerequisites

SSR server

Host

git config --global http.proxy ‘socks5://127.0.0.1:1080’
git config --global https.proxy ‘socks5://127.0.0.1:1080’

These two commands are enough.

Vmware Station

Configure ssr option setting

  1. right click the small plane
  2. click option setting
  3. enable connection from LAN

Configure proxy setting in ubuntu

Windows: win-10

ubuntu version: 18.04

  1. Use ipconfig in windows terminal and note down your ip address
  2. Change Network Proxy from off to Manual
  3. change HTTP Proxy and HTTPS Proxy to your ip address

Done. Now you can have better experience when using git.