解决 GitHub 网络拥堵问题的一点小技巧

beyond stars at 
修改/etc/ssh/ssh_config,在空白处添加 Host githubs Hostname github.com User git ProxyCommand /usr/bin/nc -x 127.0.0.1:7891 %h %p 在项目目录,执行 git config --local -e 编辑 Git 项目配置文件,将 [remote "xxxx"] url = git@github:xxxx fetch = +refs/heads/*:refs/remotes/github/* 更改为 [remote "xxxx"] url = githu……