Skip to content

🎥 Make videos programmatically with React

recommend depth=1 when cloning

Jonny Burgere49575f3d8df
diff --git a/packages/docs/docs/contributing/index.md b/packages/docs/docs/contributing/index.md
index a4b80ee65e..04b9499d71 100644
--- a/packages/docs/docs/contributing/index.md
+++ b/packages/docs/docs/contributing/index.md
@@ -35,9 +35,13 @@ Prefix with `sudo` if necessary.
<Step>2</Step> Clone the Remotion repository:<br/>
```sh
-git clone https://github.com/remotion-dev/remotion.git && cd remotion
+git clone --depth=1 https://github.com/remotion-dev/remotion.git && cd remotion
```
+:::note
+The full Git history of Remotion is large. To save time and disk space, we recommend adding `--depth=1` to only clone the most recent `main` branch.
+:::
+
<Step>3</Step> Install all dependencies:<br/>
```sh