Skip to content

Commit 8b1d1f4

Browse files
committed
增加克隆仓库限制深度的技巧
1 parent a2fa42d commit 8b1d1f4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ English translation is processing on [english branch](https://github.com/labulad
2828

2929
其他的先不多说了,直接上干货吧,我们一起日穿 LeetCode,感受一下支配算法的乐趣。
3030

31+
**PS:如果仅是 clone 此仓库学习(不是参与翻译工作)的话,请使用如下 Git 命令**
32+
33+
```shell
34+
git clone --depth 1 https://github.com/labuladong/fucking-algorithm.git
35+
```
36+
37+
这样会限制 clone 的深度,不会下载 Git 协作的历史记录,可以极大加快下载速度。
38+
3139
# 目录
3240

3341
* 第零章、必读系列

0 commit comments

Comments
 (0)