Skip to content

Commit 187298c

Browse files
committed
shallow clone repos
1 parent b811e1e commit 187298c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fetch-algorithms.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const categoriesToSkip = ["main", "src", "algorithms", "problems"];
7373
(repo) =>
7474
new Promise<void>((resolve, reject) => {
7575
exec(
76-
`git clone https://github.com/TheAlgorithms/${repo}.git`,
76+
`git clone --depth 1 https://github.com/TheAlgorithms/${repo}.git`,
7777
(err) => {
7878
if (err) reject(err);
7979
else resolve();

0 commit comments

Comments
 (0)