Use https url for cloning GitHub repos
This commit is contained in:
parent
322ec1d2a1
commit
5f0df10985
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ mkdir "$1"
|
||||||
(
|
(
|
||||||
cd "$1"
|
cd "$1"
|
||||||
curl -s "https://api.github.com/orgs/$1/repos?per_page=200" | \
|
curl -s "https://api.github.com/orgs/$1/repos?per_page=200" | \
|
||||||
jq .[].ssh_url | \
|
jq .[].clone_url | \
|
||||||
xargs -n 1 git clone --mirror
|
xargs -n 1 git clone --mirror
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue