![]() | 1 xupefei 2021-01-21 17:39:54 +08:00 via iPhone github 的话可以用 api 下载一个 tarball,比 clone 要快点儿。 还有种办法是每次 pull 的时候也depth 1 |
2 AoEiuV020 2021-01-22 09:31:04 +08:00 没记错的话,就普通 git pull 就是只拉取后续 commit, 想拉取前面的才要加参数 unshallow, |
![]() | 3 ReputationZh OP @xupefei 内网的 gitlab,话说几百 G 的文件怎么可能存到 github 上…刚才试了一下,发现 git pull 也可以加参数--depth=1,发现几秒钟就完事了。满足我的需求了。 |
4 julyclyde 2021-01-22 10:44:49 +08:00 @ReputationZh 几百 G 一般就用 Large file storage 了吧 |
![]() | 5 ReputationZh OP @xupefei 似乎加上--depth=1 后,文件没有更新? |