GitHub 代理配置

~/.gitconfig 中添加以下内容:

[http "https://github.com"]
    proxy = socks5://127.0.0.1:7897
[https "https://github.com"]
    proxy = socks5://127.0.0.1:7897

其中 7897 为你的代理端口,请在代理软件中查询并替换。