1

Switch git clone targets from HTTPS to ssh

This commit is contained in:
Jessie Hildebrandt 2024-04-16 19:25:55 -04:00
parent cfa02b7d98
commit 2f5ff4c28c

View File

@ -566,7 +566,7 @@ fi
# Perform a blobless clone of all public repos at git.tty.dog
API_URL="https://git.tty.dog/api/v1/repos/search"
for CLONE_URL in $(curl -s "${API_URL}?uid=1" | jq -r ".data.[].clone_url"); do
for CLONE_URL in $(curl -s "${API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do
git -C ${PROJECTS_DIR} clone --no-checkout --filter=blob:none "${CLONE_URL}"
done