Added depth instruction into the git clone

This commit is contained in:
mr. m 2025-04-08 18:42:55 +02:00 committed by GitHub
parent 7bbd807a5d
commit d0e8fca4a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,11 +27,12 @@ The following resources are essential for a successful build. Without them, you
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. 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.
```bash ```bash
git clone https://github.com/zen-browser/desktop.git --recurse-submodules git clone https://github.com/zen-browser/desktop.git --recurse-submodules --depth 10
cd desktop cd desktop
``` ```
- **`--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. - **`--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.
- **`--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.
## Step 2: Install Dependencies ## Step 2: Install Dependencies