GitHub加速访问
Aug. 19, 2020, 2:53 p.m.
read: 1005
加速GitHub,GitLab,Bitbucket等的访问:
git config --global https.proxy https://github.com.proxy socks5://127.0.0.1:port
git config --global https.proxy https://gitlab.com.proxy socks5://127.0.0.1:port
git config --global https.proxy https://bitbucket.org.proxy socks5://127.0.0.1:port
# ~/.ssh/config
Host github.com
User git
ProxyCommand nc -x 127.0.0.1:port %h %p
Host gitlab.com
User git
ProxyCommand nc -x 127.0.0.1:port %h %p
Host bitbucket.org
User git
ProxyCommand nc -x 127.0.0.1:port %h %p
评论
评论模块试运行中,标*的为必填项昵称:
邮箱:
*内容: