Переглянути джерело

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/).
 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)