Created
January 20, 2019 16:12
-
-
Save rippinrobr/a069301bdd9770b9d209e38e24459d54 to your computer and use it in GitHub Desktop.
A script to clone multiple github repos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
repos=("rippinrobr/csv-to.git" "rippinrobr/retrosheet-rs" "rippinrobr/gh-tools" | |
"rippinrobr/cli-book-apps" "rippinrobr/barrel" "rippinrobr/baseball-stats-db" "rippinrobr/hockey-databank") | |
src_base_dir="../src" | |
github_base_uri="[email protected]:" | |
cd $src_base_dir | |
for repo in "${repos[@]}" | |
do | |
git clone $github_base_uri$repo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment