install homebrew by replace https with ssh

on 2016-07-30

homebrew 下载https出错

根据github上的issue 描述,只需修改~/.gitconfig,添加以下内容

{% highlight shell %} [url "git@github.com:"] insteadOf = "https://github.com/" {% endhighlight %}

如果你的git@github.com也不ok的话,请参考:github socks5 proxy