git config --global https.proxy http://127.0.0.1:1086
git config --global https.proxy https://127.0.0.1:1086
git config --global http.proxy 'socks5://127.0.0.1:1086'
git config --global https.proxy 'socks5://127.0.0.1:1086'
後四位端口號爲ss偏好設置中的本地sock5監聽端口
取消
git config --global --unset http.proxy
git config --global --unset https.proxy