Skip to content

Instantly share code, notes, and snippets.

@ubermichael
Created September 23, 2021 23:36
Show Gist options
  • Save ubermichael/e0e2420ed18dcd31f47d596ed95d09f9 to your computer and use it in GitHub Desktop.
Save ubermichael/e0e2420ed18dcd31f47d596ed95d09f9 to your computer and use it in GitHub Desktop.
Clone all repositories
```shell
for u in $(hub api orgs/$ORGNAME/repos | jq '.[].ssh_url' | sed -e 's/"//g'); do echo $u; git clone "$u"; done
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment