Skip to content

Instantly share code, notes, and snippets.

@rustoceans
Created March 12, 2018 02:57
Show Gist options
  • Save rustoceans/37d895224c5bd1330bc2a2c8abab101c to your computer and use it in GitHub Desktop.
Save rustoceans/37d895224c5bd1330bc2a2c8abab101c to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euo pipefail
echo "-------------------------------------------"
echo "------ forking our repositories --------"
echo "-------------------------------------------"
links=(
"git@github.com:luizalabs/cain.git"
"git@github.com:luizalabs/users-ms.git"
"git@github.com:luizalabs/products-ms.git"
"git@github.com:luizalabs/stores-ms.git"
"git@github.com:luizalabs/customer-api.git"
"git@github.com:luizalabs/retail-stores-api.git"
"git@github.com:luizalabs/mobile-phone-services-api.git"
"git@github.com:luizalabs/mobile-vendas-api.git"
)
for link in "${links[@]}"; do
git clone $link
done
if [ $? -eq 0 ]; then
echo " _______________________________________ "
echo " < All of our projects was cloned! > "
echo " --------------------------------------- "
echo " \ ^__^ "
echo " \ (oo)\_______ "
echo " (__)\ )\/\ "
echo " ||----w | "
echo " || || "
echo ""
echo ""
else
echo FAIL
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment