git - 使用sock5s 代理下载 github的内容

访问量: 13

参考: https://stackoverflow.com/questions/15227130/using-a-socks-proxy-with-git-for-the-http-transport

#[http]
# proxy = https://127.0.0.1:1080
#[https]
# proxy = https://127.0.0.1:1080
#

改成下面这个就可以了。(仍然提示输入用户名和密码)
[http "https://github.com"]
proxy = socks5h://192.168.0.10:1090
[https "https://github.com"]
proxy = socks5h://192.168.0.10:1090

订阅/RSS Feed

Subscribe

分类/category