Created
August 11, 2023 20:28
-
-
Save ConnerWill/04a04be2dde0b93bd0b6503f4f583d52 to your computer and use it in GitHub Desktop.
Bash script to clone all of your repos
This file contains 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 characters
#!/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