瀏覽代碼

Merge pull request #19348 from munrocket/readme

Update README.md
Mr.doob 5 年之前
父節點
當前提交
ee47e94edd
共有 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/).
 
+### 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 ###
 
 [Releases](https://github.com/mrdoob/three.js/releases)