Skip to content

Instantly share code, notes, and snippets.

@matheusiacono
Created June 7, 2022 14:19
Show Gist options
  • Save matheusiacono/f9f9a031840838c8e1b0d9b89d742d3b to your computer and use it in GitHub Desktop.
Save matheusiacono/f9f9a031840838c8e1b0d9b89d742d3b to your computer and use it in GitHub Desktop.
Clone all repos from org
#!/bin/bash
gh repo list $org --limit 1000 | while read -r repo _; do
gh repo clone "$repo" "$repo"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment