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
  • 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