菜单

Jason
发布于 2023-09-08 / 12 阅读 / 0 评论 / 0 点赞

git代理设置

1、设置git代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080

2、设置ssh代理

修改 ~/.ssh/config 文件,添加如下内容:

Host github.com
    User git
    ProxyCommand nc -v -x 127.0.0.1:1086 %h %p


评论