下面这三个是较为常规大家用的较多的:
0x01 下面代码直接写入 hosts 文件里。Mac 的 hosts 文件路径为 /etc/hosts 。Windows 的是 C:\Windows\System32\Drivers\etc\hosts
0x02 上代理,设置 git config --global https.proxy http://127.0.0.1:1080(或 http)
0x03 用已有的快速镜像如:快速镜像: https://github.com.cnpmjs.org
还有最近发现 UU 加速器也可以加速 Github ,加速过后在访问 Github 速度明显快很多,而且 pull 代码速度也很可。目前貌似免费,有账号可以试试
0x01 下面代码直接写入 hosts 文件里。Mac 的 hosts 文件路径为 /etc/hosts 。Windows 的是 C:\Windows\System32\Drivers\etc\hosts
0x02 上代理,设置 git config --global https.proxy http://127.0.0.1:1080(或 http)
0x03 用已有的快速镜像如:快速镜像: https://github.com.cnpmjs.org
还有最近发现 UU 加速器也可以加速 Github ,加速过后在访问 Github 速度明显快很多,而且 pull 代码速度也很可。目前貌似免费,有账号可以试试