Use shallow clone instead of full checkout
This commit is contained in:
parent
ec78816599
commit
f89cf81941
|
@ -45,7 +45,7 @@ fetch_project()
|
|||
git pull
|
||||
cd ..
|
||||
else
|
||||
git clone "$1" "$2"
|
||||
git clone --depth 1 "$1" "$2"
|
||||
fi
|
||||
echo "=== Fetched ==="
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue