Only clone 1 depth instead clone the entire history

This commit is contained in:
Robert Moore 2024-05-07 11:50:20 +00:00 committed by GitHub
parent 2d83a6a34e
commit 217295c2ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ hardening [INFO] Treating /home/test/harbian-audit/bin/hardening
## Quickstart
```console
$ git clone https://github.com/hardenedlinux/harbian-audit.git && cd harbian-audit
$ git clone --depth 1 https://github.com/hardenedlinux/harbian-audit.git && cd harbian-audit
# cp etc/default.cfg /etc/default/cis-hardening
# sed -i "s#CIS_ROOT_DIR=.*#CIS_ROOT_DIR='$(pwd)'#" /etc/default/cis-hardening
# bin/hardening.sh --init