dont ask me please...

main
Andre Challier 2024-03-27 19:38:10 +01:00
parent 9e3c383bc2
commit 5c2e4b89be
1 changed files with 3 additions and 0 deletions

View File

@ -37,7 +37,10 @@ git ls-remote --heads "$PROGRAMM_REPOSITORY" |
# Store branch names in an array
mapfile -t branches
for branch in "${branches[@]}";
do
echo "cloning $branch"
git clone --depth 1 --branch "$branch" --single-branch "$PROGRAMM_REPOSITORY" "$BRANCHES_FOLDER"/"$branch"
done