Skip to content

Commit d0e8fca

Browse files
Added depth instruction into the git clone
1 parent 7bbd807 commit d0e8fca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/building.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ The following resources are essential for a successful build. Without them, you
2727
First, you need to clone the Zen Browser repository to your local machine. This will create a local copy of the project that you can work on.
2828

2929
```bash
30-
git clone https://github.com/zen-browser/desktop.git --recurse-submodules
30+
git clone https://github.com/zen-browser/desktop.git --recurse-submodules --depth 10
3131
cd desktop
3232
```
3333

3434
- **`--recurse-submodules`**: This flag ensures that all submodules are cloned along with the main project. Zen Browser relies on several submodules, so this step is essential.
35+
- **`--depth 10`**: This makes sure you dont download the entire git history, it would take a long time otherwise due to that we used to store compiled binaries on the repository.
3536

3637
## Step 2: Install Dependencies
3738

@@ -131,4 +132,4 @@ This command launches the browser, allowing you to see your changes in action.
131132
> npm run reset-ff && npm run init && npm run build
132133
> ```
133134
134-
---
135+
---

0 commit comments

Comments
 (0)