美文网首页
git ssh 代理

git ssh 代理

作者: 霡霂976447044 | 来源:发表于2020-08-07 17:46 被阅读0次
git config --global url.https://github.com/.insteadOf git://github.com/

vim ~/ssh/.config

Host github.com
        User    git
        Hostname        github.com
        Port    22
        Proxycommand    /usr/bin/ncat --proxy 127.0.0.1:1081 --proxy-type socks5 %h %p

相关文章

网友评论

      本文标题:git ssh 代理

      本文链接:https://www.haomeiwen.com/subject/vscqdktx.html