Add commands download clickhouse-diagnostics folder

This commit is contained in:
Ramazan Polat 2022-01-28 00:13:48 +03:00 committed by GitHub
parent 63d8d75001
commit bfc47e1dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,18 @@
## Download
Cloning whole repo will take a lot of time and disk space. The following commands will download only this directory.
* Requires Git 2.19
```
# mkdir chdiag
# cd chdiag
# git clone --depth 1 --filter=blob:none --no-checkout https://github.com/ClickHouse/ClickHouse
# cd ClickHouse
# git sparse-checkout set utils/clickhouse-diagnostics
# git checkout master -- utils/clickhouse-diagnostics
```
## Installation
```