Speed up git
Contents
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
- right click the small plane
- click option setting
- enable connection from LAN
Configure proxy setting in ubuntu
Windows: win-10
ubuntu version: 18.04
- Use ipconfig in windows terminal and note down your ip address
- Change Network Proxy from off to Manual
- change HTTP Proxy and HTTPS Proxy to your ip address
Done. Now you can have better experience when using git.