Skip to content

Instantly share code, notes, and snippets.

@humeji
Forked from bhrott/clone_repositories.sh
Created January 30, 2018 21:51
Show Gist options
  • Save humeji/e3ff40f6c393fe29f59855b1a866e3d7 to your computer and use it in GitHub Desktop.
Save humeji/e3ff40f6c393fe29f59855b1a866e3d7 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 ==="
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment