Skip to content

Instantly share code, notes, and snippets.

@bhrott
Created June 24, 2016 02:28
Show Gist options
  • Save bhrott/a85be9e534622d9e4e6acb4765bd4b38 to your computer and use it in GitHub Desktop.
Save bhrott/a85be9e534622d9e4e6acb4765bd4b38 to your computer and use it in GitHub Desktop.
SH: Clone Multiple Repositories Repositories
#!/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 ==="
@trinhgiahuy
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment