Home Git 使用sock5s代理下载github的内容gitproxysocks5
Post
Cancel

Git 使用sock5s代理下载github的内容gitproxysocks5

参考: 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
This post is licensed under CC BY 4.0 by the author.