Spaces:
Paused
Paused
Update init.sh
Browse files15 unmodified lines16171819202122232415 unmodified lines# Clone only if the target directory does not existif [ ! -d "$TARGET_DIR" ]; thengit clone -b "$BRANCH" "https://blendersb:${GITHUB_PAT}@github.com/blendersb/teleapi.git" "$TARGET_DIR"echo "📝 Latest Git Commit:"git log -1 --pretty=format:"🔹 %h %s by %an on %ad" --date=shortelseecho "✅ Repository already cloned at $TARGET_DIR"fi15 unmodified lines1617181920212223242515 unmodified lines# Clone only if the target directory does not existif [ ! -d "$TARGET_DIR" ]; thengit clone -b "$BRANCH" "https://blendersb:${GITHUB_PAT}@github.com/blendersb/teleapi.git" "$TARGET_DIR"cd "$TARGET_DIR"echo "📝 Latest Git Commit:"git log -1 --pretty=format:"🔹 %h %s by %an on %ad" --date=shortelseecho "✅ Repository already cloned at $TARGET_DIR"fi
init.sh+3-2