]> gitweb.fluxo.info Git - rhatto/apps.git/commitdiff
Fix: docs: README: shallow clone instructions
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Mar 2025 08:43:12 +0000 (05:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Mar 2025 08:43:12 +0000 (05:43 -0300)
README.md

index 00837e7a6fd99609b8f0571f8479619f4915cb66..620ad316c879c545650f3513f116e2a1bac9f0c1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -29,6 +29,11 @@ Get the code:
 
     git clone --recursive https://git.fluxo.info/rhatto/apps $HOME/apps
 
+For a _shallow_ clone, which is faster and uses less storage space:
+
+    git clone --recursive --depth 1 --shallow-submodules \
+      https://git.fluxo.info/rhatto/apps $HOME/apps
+
 Then check the source integrity of the latest release:
 
     /usr/bin/git -C $HOME/apps verify-commit HEAD