Skip to content

Instantly share code, notes, and snippets.

@gabrielrufino
Last active May 6, 2024 22:01
Show Gist options
  • Save gabrielrufino/41e41cb3c8bf471b364570532c1c600d to your computer and use it in GitHub Desktop.
Save gabrielrufino/41e41cb3c8bf471b364570532c1c600d to your computer and use it in GitHub Desktop.
Clone all repositories from some owner using GitHub CLI
OWNER=gabrielrufino
gh repo list $OWNER --limit 4000 --no-archived | 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