From 1abfbe1d345ea80619c31780edf4eaf32315d488 Mon Sep 17 00:00:00 2001 From: MOHAMMAD RASIM Date: Sat, 24 Mar 2018 16:11:57 +0300 Subject: [PATCH] use shallow clone not need to download the whole repo history --- installers/raspberry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/raspberry.sh b/installers/raspberry.sh index ecdcc842..aa943dcf 100644 --- a/installers/raspberry.sh +++ b/installers/raspberry.sh @@ -101,7 +101,7 @@ if [ -d "$HOME/MagicMirror" ] ; then fi echo -e "\e[96mCloning MagicMirror ...\e[90m" -if git clone https://github.com/MichMich/MagicMirror.git; then +if git clone --depth=1 https://github.com/MichMich/MagicMirror.git; then echo -e "\e[92mCloning MagicMirror Done!\e[0m" else echo -e "\e[91mUnable to clone MagicMirror."