Skip to content

Instantly share code, notes, and snippets.

@anujkhare
Created December 16, 2018 06:29
Show Gist options
  • Save anujkhare/b0f84ac45995c493657d6f017c6c3508 to your computer and use it in GitHub Desktop.
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!
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