Github client for mac: 如何翻越长城?

Github client for mac: how to overcome the Great Wall?

我已经通过长城购买了VPN。我只想知道如何为 OS X.

的 GitHub 客户端设置代理

在shell中是这样的

$ ssh -T git@github.com
Warning: Permanently added the RSA host key for IP address '[192.30.252.149]:443' to the list of known hosts.
Hi XXXXXX! You've successfully authenticated, but GitHub does not provide shell access.

但是当我点击按钮在桌面上克隆时,它无法在客户端中克隆。

例如:AFNetworking

"Can't find "AFNetworking/AFNetworking", "It was last seen at ~/Github/AFNetworking".


刚刚验证了一下,shell是在逗我

在shell中clone的结果是这样的

$ git clone https://github.com/AFNetworking/AFNetworking
Cloning into 'AFNetworking'...
fatal: unable to access 'https://github.com/AFNetworking/AFNetworking/': Failed to connect to github.com port 443: Operation timed out

GFW 似乎只屏蔽 github 的 CDN 分发的内容,例如 assets-cdn.github.com。 git的回购操作几乎不受GFW的影响。

如果你连接到 VPN,你就已经穿透了 GFW。您的问题可能不是由网络引起的。

你可以试试git clone https://github.com/afnetworking/afnetworking,然后把本地repo拖到Github Mac