Skip to content

Commit

Permalink
use --depth for faster clone (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
AminulBD authored Jul 26, 2024
1 parent f3e245e commit c6f0b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/checkout_latest_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c6f0b19

Please sign in to comment.