git设置代理

 

修改~/.gitconfig文件
增加如下代码:

[http]
    proxy = socks5://127.0.0.1:1080
Author: ismdeep
License: Copyright (c) 2021 CC-BY-NC-4.0 LICENSE