git推送拉取时对服务器进行【袋里】加速

在.ssh/文件夹下添加一个config文件

macos/ubuntu

Host github.com

User git

ProxyCommand nc -x localhost:1080 %h %p

centos7

Host github.com

User git

ProxyCommand ssh cmsusr nc %h %p

windows

Host github.com

User git

ProxyCommand connect -S localhost:1080 %h %p

来源:http://mixoo.cn/2018/07/03/ss-bitbucket/

评论

Popular Posts

常用的国内外延迟测速链接(generate_204)

Cromite - 极度注重隐私的Chromium浏览器

随身WiFi折腾指南: 解锁、刷机与DIY

WinRAR 7.13 官方简体中文无广告版

mihomo各平台客户端下载(windows, android, macos)

使用南京大学镜像加速访问Docker Hub

解决Ubuntu桌面上Free Download Manager无法打开的问题

来电狂响 Kill Mobile (2018)

工薪族你真的懂什么是创业吗

管道补漏防水胶带(硅胶带)