Created
June 24, 2016 02:28
-
-
Save bhrott/a85be9e534622d9e4e6acb4765bd4b38 to your computer and use it in GitHub Desktop.
SH: Clone Multiple Repositories Repositories
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
#!/bin/sh | |
# Clone multiple repositories. | |
echo "=== CLONENATOR ===" | |
array=( "https://github.com/angular/angular.git" | |
"https://github.com/nodejs/node.git" ) | |
for element in ${array[@]} | |
do | |
echo "clonning $element" | |
git clone $element | |
done | |
echo "=== DONE ===" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks