centos开启http代理

git config --global http.proxy https://192.168.1.106:7890
git config --global https.proxy https://192.168.1.106:7890



ubuntu开启socket代理

git config --global http.proxy 'socks5://192.168.1.106:7890'
git config --global https.proxy 'socks5://192.168.1.106:7890'