Created
December 16, 2018 06:29
-
-
Save anujkhare/b0f84ac45995c493657d6f017c6c3508 to your computer and use it in GitHub Desktop.
Clone all the repositories listed in a text file given as input: useful when setting up a dev env with a lot of 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
echo "If your SSH key has a passphrase, you might need to enter it each time. Consider using ssh-agent or removing the passphrase"; | |
while read p; do | |
echo "$p"; | |
git clone "$p"; | |
done < $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment