Switch git clone targets from HTTPS to ssh
This commit is contained in:
parent
cfa02b7d98
commit
2f5ff4c28c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user