Clone all repos in a GitHub Organization
Uses the GitHub API to retrieve a list of repos (up to 100 per page) and clones them.
Authored by: Carlos BuenosvinosBrought to you by Warp, a free terminal reimagined to work like a modern app.
auth_token
org
page
Command
Copy
curl -s -H "Authorization: token auth_token" "https://api.github.com/orgs/facebook/repos?page=1&per_page=100" | jq -r ".[].clone_url" | xargs -L1 git clone
Tags
Edit in GitHub
Copied