Use https url for cloning GitHub repos

This commit is contained in:
Billy Brawner 2019-02-18 08:35:10 -06:00
parent 322ec1d2a1
commit 5f0df10985

View file

@ -4,7 +4,7 @@ mkdir "$1"
(
cd "$1"
curl -s "https://api.github.com/orgs/$1/repos?per_page=200" | \
jq .[].ssh_url | \
jq .[].clone_url | \
xargs -n 1 git clone --mirror
)