从github拉取回购,它非常,非常慢,我不知道为什么。
C:\projects>git clone --depth 1 git@github.com:sawilde/opencover.git
Cloning into 'opencover'...
The authenticity of host 'github.com (192.30.255.112)' can't be established.
RSA key fingerprint is SHA256:nThbg........................................
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.255.112' (RSA) to the list of known hosts.
remote: Enumerating objects: 1459, done.
remote: Counting objects: 100% (1459/1459), done.
remote: Compressing objects: 100% (829/829), done.
Receiving objects: 95% (1388/1459), 14.09 MiB | 8.00 KiB/s
我已经尝试了一些东西,例如windows和ubuntu (通过windows子系统),完整vs浅克隆,ssh vs https,...等等,我得到了同样缓慢的行为;30分钟就能达到14MiB?我不记得有这么糟糕。
非常沮丧,因为我得到了良好的速度在一般的下载,不确定为什么它是如此缓慢的克隆一个repo…
发布于 2019-04-17 10:23:09
这可能是服务提供商端的临时路由问题,但是GitHub有一个调试站点,您可以在其中运行几个测试,然后将输出发送给它们以供进一步调查。该站点可在以下位置找到:
发布于 2021-06-05 22:47:39
从使用ssh切换到https为我做到了这一点。
https://stackoverflow.com/questions/55718983
复制相似问题