diff --git a/bin/checkout_latest_docs.sh b/bin/checkout_latest_docs.sh index 1e67c222..01e54ed2 100644 --- a/bin/checkout_latest_docs.sh +++ b/bin/checkout_latest_docs.sh @@ -26,6 +26,6 @@ for v in "${DOCS_VERSIONS[@]}"; do (cd resources/docs/$v && git pull) else echo "Cloning $v..." - git clone --single-branch --branch "$v" https://github.com/laravel/docs "resources/docs/$v" + git clone --depth 1 --single-branch --branch "$v" https://github.com/laravel/docs "resources/docs/$v" fi; done