Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit e88dca9

Browse files
author
Renzo Lucioni
committed
Create shallow clones of edX repos
This brings the size of the edx-platform checkout down from 750 MB to 40 MB.
1 parent 87acf41 commit e88dca9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clone.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ do
2525
if [ -d "$name" ]; then
2626
printf "The [%s] repo is already checked out. Continuing.\n" $name
2727
else
28-
git clone $repo
28+
git clone --depth 1 $repo
2929
fi
3030
cd - &> /dev/null
3131
done

0 commit comments

Comments
 (0)