浏览代码

Update README.md

[email protected] 5 年之前
父节点
当前提交
302c7d231a
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      README.md

+ 8 - 0
README.md

@@ -66,6 +66,14 @@ function animate() {
 
 
 If everything went well, you should see [this](https://jsfiddle.net/8kubjpL5/).
 If everything went well, you should see [this](https://jsfiddle.net/8kubjpL5/).
 
 
+### Cloning this repository ###
+
+Use the `depth` parameter to prevent cloning the entire commit history. This will significantly reduce the download size.
+
+```sh
+git clone --depth=30 https://github.com/mrdoob/three.js.git
+```
+
 ### Change log ###
 ### Change log ###
 
 
 [Releases](https://github.com/mrdoob/three.js/releases)
 [Releases](https://github.com/mrdoob/three.js/releases)