recursive-git-clone.sh
This script recursively prompts you for a git URL, cloning the repo into the current directory.
Usage:
bash <(curl -sSL https://jrussell.io/recursive-git-clone)
Full Script:
#!/bin/bash
# Tested on Ubuntu 18.04 LTS
# This script endlessly prompts for a git URL and clones it into the current directory
while [ 1 ] ; do
read -p "ENTER GIT URL >> " NAME
git clone $NAME
done