Created
January 16, 2025 11:54
-
-
Save Maroo-b/08cf56570a5753a3219c73f6a26b6a48 to your computer and use it in GitHub Desktop.
Revisions
-
Maroo-b created this gist
Jan 16, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ 1. Install Gh cli tool 2. Run `gh auth login` 3. In a new directory run (change myorgname to the desired org value): ``` gh repo list myorgname --limit 4000 | while read -r repo _; do gh repo clone "$repo" "$repo" done ``` Ref: https://stackoverflow.com/questions/19576742/how-to-clone-all-repos-at-once-from-github