如何使用 qv2ray 设置 git 的 http(s).proxy
查看原帖
如何使用 qv2ray 设置 git 的 http(s).proxy
143771
比利♂海灵顿楼主2021/3/25 20:21

最近用 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 是自己的端口, 我入站设置里 http8889, socks1089)

另外附上我的 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 的巨佬给出可行的方案

2021/3/25 20:21
加载中...