Add --shallow-submodules version

For recent Git, this options changes checkout time drastically
This commit is contained in:
Mike Kot 2023-02-16 20:44:01 +03:00 committed by GitHub
parent 300dfbbef6
commit 444f3aa2ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,13 +56,13 @@ Gcc cannot be used.
### Checkout ClickHouse Sources {#checkout-clickhouse-sources}
``` bash
git clone --recursive git@github.com:ClickHouse/ClickHouse.git
git clone --recursive --shallow-submodules git@github.com:ClickHouse/ClickHouse.git
```
or
``` bash
git clone --recursive https://github.com/ClickHouse/ClickHouse.git
git clone --recursive --shallow-submodules https://github.com/ClickHouse/ClickHouse.git
```
### Build ClickHouse {#build-clickhouse}