Created
December 16, 2018 06:29
-
-
Save anujkhare/dd688f302fa7a6e5f49b06014586343c 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