Skip to content

Instantly share code, notes, and snippets.

@NetOpWibby
Forked from bhrott/clone_repositories.sh
Last active January 8, 2018 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NetOpWibby/b4164f2d0d9a6769c0118738dcae8c15 to your computer and use it in GitHub Desktop.
Save NetOpWibby/b4164f2d0d9a6769c0118738dcae8c15 to your computer and use it in GitHub Desktop.
Clone Multiple 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 "cloning $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