Skip to content

Instantly share code, notes, and snippets.

@ConnerWill
Created August 11, 2023 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ConnerWill/04a04be2dde0b93bd0b6503f4f583d52 to your computer and use it in GitHub Desktop.
Save ConnerWill/04a04be2dde0b93bd0b6503f4f583d52 to your computer and use it in GitHub Desktop.
Bash script to clone all of your repos
#!/usr/bin/env bash
while IFS= read -r line; do
git clone "https://github.com/${line}"
done <<< "$(gh repo list | cut -f1)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment