From 5f0df10985efa69df18ae9c12a727bf2a7d3636d Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Mon, 18 Feb 2019 08:35:10 -0600 Subject: [PATCH] Use https url for cloning GitHub repos --- mirror-github-org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror-github-org b/mirror-github-org index e748efa..af49bb3 100755 --- a/mirror-github-org +++ b/mirror-github-org @@ -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 )