最近用 github 存代码, 但是由于速度太慢, 合租了一组 v2ray 订阅, 现在在网上找了很多方法主要就是
$ git config --global http.proxy http://127.0.0.1:xxxx
$ git config --global https.proxy https://127.0.0.1:xxxx
(xxxx 是自己的端口, 我入站设置里 http
是 8889
, socks
是 1089
)
另外附上我的 config
$ git config --global --list
core.editor="S:\Microsoft VS Code\Code.exe" --wait
user.name=Wild-Donkey
user.email=fysh4202@163.com
http.sslcainfo=C:\Program Files\Git\mingw64\ssl\cert.pem
remote.origin.proxy=
remote.origin.proxy=
remote.origin.proxy=
gui.recentrepo=S:/Git/FAQ
是否有用 git 的巨佬给出可行的方案