Skip to content

Instantly share code, notes, and snippets.

@MaxymVlasov
Created June 27, 2023 13:45
Show Gist options
  • Select an option

  • Save MaxymVlasov/31c1d21a62730888705f558f74b0e914 to your computer and use it in GitHub Desktop.

Select an option

Save MaxymVlasov/31c1d21a62730888705f558f74b0e914 to your computer and use it in GitHub Desktop.

Revisions

  1. MaxymVlasov created this gist Jun 27, 2023.
    7 changes: 7 additions & 0 deletions clone.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    gh repo list "$GH_ORG_OR_USER_NAME" --limit 1000 | sort > repos.list

    cat repos.list | while read -r repo _; do
    echo "--- Start $repo ---"
    gh repo clone "$repo" "$repo"
    echo "--- End $repo ---"
    done